Tagged: Catch Flames
- This topic has 15 replies, 3 voices, and was last updated 8 years, 4 months ago by Mahesh.
-
AuthorPosts
-
June 14, 2016 at 8:35 am #93499catwingzParticipant
Hi,
What is the CSS to make the right sidebar about 1/3 narrower and the content area correspondingly wider?thank you
June 14, 2016 at 12:30 pm #93520MaheshParticipant@catwingz: Go to Dashboard=> Appearance=> Customize=> Theme Options=> Custom CSS box and add the following CSS:
.two-columns #primary { width: 900px; } .two-columns #secondary { width: 250px; } @media screen and (max-width: 1280px) { .two-columns #primary { width: 840px; } } @media screen and (max-width: 1152px) { .two-columns #primary { width: 780px; } } @media screen and (max-width: 1100px) { .two-columns #primary { width: 700px; } } @media screen and (max-width: 1000px) { .two-columns #primary { width: 640px; } } @media screen and (max-width: 940px) { .two-columns #primary { width: 530px; } .two-columns #secondary { width: 200px; } } @media screen and (max-width: 782px) { .two-columns #primary { width: 100%; } .two-columns #secondary { width: 620px; } } @media screen and (max-width: 640px) { .two-columns #secondary { width: 520px; } } @media screen and (max-width: 568px) { .two-columns #secondary { width: 560px; } } @media screen and (max-width: 480px) { .two-columns #secondary { width: 100%; } }
Regards,
MaheshJune 18, 2016 at 4:45 am #93799catwingzParticipantThis is great! I hope this will be exactly what she wanted. Thank you
June 19, 2016 at 9:48 am #93832June 21, 2016 at 7:03 pm #94010joeh47ParticipantI have the free version of Adventurous and would like to make the content full width so when I have no sidebar on a page the content width is equal to about the space width that would be normally be occupied if side bar were present. If the side bar were enable then the content width would have to return to the original value.
Thanks
JoeJune 22, 2016 at 10:04 am #94037MaheshParticipant@joeh47: The option you are seeking is available in Adventurous Pro. It has No Sidebar (Full width) layout options, the one you want to have plus more other options too. I recommend you to upgrade to Pro.
Regards,
MaheshAugust 4, 2016 at 10:45 pm #96603catwingzParticipantThis is really weird. I posted a follow-up question several weeks ago and now it is gone…
So the public view of the website is much improved, but the view in the post and page editor now has a wide margin on the right side. This is causing problems for my client when she is trying to format her posts and place images, etc. What can be done to remove this and catch the editing experience up with the actual site?
thank youAugust 5, 2016 at 10:01 am #96628August 5, 2016 at 9:46 pm #96663August 5, 2016 at 11:31 pm #96672catwingzParticipantAugust 5, 2016 at 11:32 pm #96673catwingzParticipantAugust 8, 2016 at 9:46 am #96767MaheshParticipant@catwingz: The problem that you have blank post in above reply is you have put the
<a>
tag but nothing to display in it. I checked your site but didn’t see any issue, may be I missed it. Can you please tell me in which page is the problem is actually ocurring? (page with problem – url)Regards,
MaheshAugust 13, 2016 at 2:44 am #97175catwingzParticipantAs I said, this is a problem with the editing area for posts and pages in the admin, not with the public site. The following are links showing the difference between what the preview of a post looks like in comparison with the view in the editing window. The wide right margin is causing problems with her ability to format posts.
This happened when we made the main content area wider.
Thank you
August 14, 2016 at 10:54 am #97226MaheshParticipant@catwingz: The problem is because the editor’s content width is defined by the theme so that is match the actual content width of the site. You have now customized the theme by increasing the content width through custom CSS. But the width of editor’s content stayed the same and caused the issue. If you would like to do this level of customization. I recommend you to use the child theme. You can find more details on creating child theme HERE then add the CSS to child theme’s
style.css
And for the editor’s content width, copyeditor-style.css
file to your child theme and edit and change line 7 tomax-width: 860px;
so it would look like following:html .mceContentBody { max-width: 860px; }
Hope this helps.
Regards,
MaheshAugust 15, 2016 at 6:16 am #97256catwingzParticipantThanks @Mahesh, that is a huge help. Up until now she hasn’t needed a child theme, but this will make her very happy.
August 15, 2016 at 10:02 am #97263MaheshParticipant@catwingz: Glad to know. Thank you for your appreciation. If you like my support and Catch Flames theme then please support by providing your valuable review and rating at https://wordpress.org/support/view/theme-reviews/catch-flames?rate=5#postform
Have a nice day!Regards,
Mahesh -
AuthorPosts
- The topic ‘Make content area wider, right sidebar narrower’ is closed to new replies.