Tagged: Container width, Layout width
- This topic has 7 replies, 2 voices, and was last updated 3 years, 8 months ago by Theme Horse Support Team.
-
AuthorPosts
-
September 5, 2020 at 5:55 pm #80784RobertoParticipant
i use layout with right sidebar but it full width. Is It possible set a fixed max width?
September 6, 2020 at 12:44 pm #80805Theme Horse Support TeamKeymasterHi Roberto,
Layout can be changed from ‘Appearance > Customize > Layout’. and if you want to set the layout for specific page or the post then you can change it through the meta section from the bottom of every page/post Page editor. And if you have set the layout from the specific page then it will override the global layout of ‘Appearance > Customize > Layout’.
Thanks
September 7, 2020 at 9:52 am #80830RobertoParticipantIn ‘Appearance > Customize > Layout’. No full width Is just without sidebar. I want to keep sidebar and set the size for desktop layout.
September 9, 2020 at 6:38 am #80865Theme Horse Support TeamKeymasterOk, you mean you want the full width along with sidebar layout.
Please go to the ‘Appearance > Customizer > Additional CSS’ and paste below custom css code:
@media (min-width: 1600px) { .post-template-default .site-content .container, .page-template-default:not(.woocommerce) .site-content .container { max-width: 1540px; } } @media (min-width: 1800px) { .post-template-default .site-content .container, .page-template-default:not(.woocommerce) .site-content .container { max-width: 1740px; } }
Thanks
September 9, 2020 at 4:46 pm #80881RobertoParticipantNo, i no want full width. i want set a width size of page with Sidebar layout.
September 9, 2020 at 7:33 pm #80885RobertoParticipantyour code works perfect with articles but no with pages.
September 10, 2020 at 3:19 pm #80906RobertoParticipanti fixed with this modify:
.post-template-default .site-content .container,
.page-template-default:not(.woocommerce) .site-content .container {thank you.
September 13, 2020 at 1:45 pm #80992Theme Horse Support TeamKeymasterHi Roberto,
Sorry we forgot to provide the code that should affect for the page too. It’s Great you find out the solution by yourself. Even We have updated the pervious code as well.
Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.