Tagged: width
- This topic has 8 replies, 2 voices, and was last updated 5 years, 6 months ago by
Theme Horse Support Team.
-
AuthorPosts
-
February 23, 2019 at 9:04 pm #60735
staniole
ParticipantI’m using Newscard (Free edition), a perfect theme for my use. Is it possible to change the width to a fixed size?
Thanks.//Staniole Olsen
February 25, 2019 at 10:58 am #60783Theme Horse Support Team
KeymasterHi Staniole,
Could you please clarify which width are you talking about?
Thank you!
February 26, 2019 at 5:59 am #60809staniole
ParticipantI think it could be a width of 1240px.
Thanks.//Staniole Olsen
February 26, 2019 at 11:54 am #60825Theme Horse Support Team
KeymasterHello Staniole,
Please add the below custom CSS code in Appearance > Customize > Additional CSS to set the width to 1240px.
@media (min-width: 1200px) { .container, .post-template-default .site-content .container, .page-template-default:not(.woocommerce) .site-content .container{ max-width: 1240px; } .post-boxed.inlined .post-img-wrap { height: 80px; width: 80px; } .newscard-widget-horizontal-vertical-posts .post-boxed.main-post .post-img-wrap { height: 234px; } .col-xxl-4 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; } .entry-content p { margin-bottom: 15px; } .featured-section .post-block .entry-header, .featured-section .two-column-featured-section .post-block .entry-header { padding: 10px 10px 0; } .navbar-head.navbar-bg-set { padding-top: 30px; padding-bottom: 30px; } .main-navigation a, .search-toggle { padding: 15px; } .main-navigation > ul > li.menu-item-has-children > a, .main-navigation > ul > li.page_item_has_children > a { padding-right: 32px; } .main-navigation > ul > li.menu-item-has-children > a:after, .main-navigation > ul > li.page_item_has_children > a:after { right: 15px; } }
Thank you!
February 27, 2019 at 5:45 am #60852staniole
ParticipantWorked like a charm, thank you. Case can be closed.
February 27, 2019 at 6:15 am #60854staniole
ParticipantIs was a little bit to quick to close this case – it worked like a charm on the frontpage, but going to a post or a page, the width is more than 1240px, I think maybe it is the featured picture (post) and the content (page), but I don’t know. What to do?
Thanks.//Staniole Olsen
February 27, 2019 at 8:45 am #60862Theme Horse Support Team
KeymasterHello @staniole
We have edited the above code fixing it on single post and page.
Please try using the above update code.Thank you!
February 27, 2019 at 4:21 pm #60868staniole
ParticipantNow it’s working like a charm all over, thank you very much.
The case can now be closed :o)February 28, 2019 at 1:34 pm #60909Theme Horse Support Team
KeymasterWelcome anytime @staniole.
-
AuthorPosts
- You must be logged in to reply to this topic.