- This topic has 3 replies, 2 voices, and was last updated 10 years, 5 months ago by
Sakin.
-
AuthorPosts
-
April 10, 2015 at 3:05 pm #55481
Guillaume
ParticipantHi,
How can I do to get a larger sidebar on the right on my website with Catch Kathmandu Pro Theme ?
Thanks for your help.
April 10, 2015 at 9:57 pm #55501Sakin
Keymaster@Guillaume: If you want larger sidebar then you need to decrease the content width. Let me know your desire width and site URL then I will send you custom css that you can add to change the width.
April 11, 2015 at 3:56 pm #55559Guillaume
ParticipantThanks for your answer but my site is not online yet! But I’ll try changing width. Can you just tell me the line number in the css where I’ll have to change the value?
April 11, 2015 at 11:36 pm #55586Sakin
Keymaster@Guillaume: You shouldn’t edit any core theme files like style.css, index.php, functions.php and so on, inside ‘catch-kathmandu-pro’ theme directory. As these files will be reverted back to original when you update your theme.
So, to edit css, you can either add it in “Appearance => Theme Options => Custom CSS” box or build child theme and add it in child theme style.css
So, you can add the following css in “Appearance => Theme Options => Custom CSS” box:
#primary { width: 750px; } #secondary { width: 380px; } @media screen and (max-width: 1344px) { #primary { width: 700px; } #secondary { width: 380px; } } @media screen and (max-width: 1280px) { #primary { width: 620px; } #secondary { width: 360px; } } @media screen and (max-width: 1152px) { #primary { width: 540px; } #secondary { width: 340px; } } @media screen and (max-width: 1024px) { #primary { width: 480px; } #secondary { width: 340px; } } @media screen and (max-width: 960px) { #primary, #secondary { width: 100%; } }
-
AuthorPosts
- The topic ‘I'd like a larger sidebar on the right’ is closed to new replies.