Tagged: x
-
AuthorPosts
-
March 24, 2017 at 12:38 pm #1419303
I’ve been told I need to make the width of my pages (where the text is) smaller. They suggested adding the following CSS to the sections:
max-width:45em;
Can you please tell me the exact CSS for how to do this on https://goalsarecool.com/join-academy/
Thanks!
BlakeMarch 24, 2017 at 3:55 pm #1419502Hi Blake,
Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post. If you wouldn’t mind providing us with a little more clarification on what it is you’re wanting to do (a link to a similar example site would be very helpful, or perhaps some screenshots), we’ll be happy to provide you with a response once we have a better understanding of the situation.
March 24, 2017 at 3:59 pm #1419507I entered the following in the style box of the sections on the page listed above.
max-width:45em; margin: 0 auto
It produced the outcome i wanted with the exception of one thing. It created gray space on either side of the white space. How can I get the gray spaces to be white?
March 24, 2017 at 4:08 pm #1419523Hello,
Thanks for your response.
Are you talking about the area highlighted with red question mark in attached image?
Let us know so that we can help you properly.
March 24, 2017 at 4:11 pm #1419527Yes, I think it needs to be done with CSS because i want that background on other pages throughout the site. Can you provide the CSS to accomplish this please?
Thanks!
March 25, 2017 at 1:11 am #1419876Hi There,
Instead of applying the inline-style
max-width: 45em;margin: 0 auto;
on section. Please apply that on the ROW instead.That way you keep the section full-width (with white background), but narrow the content container.
Hope it helps, Cheers!
March 25, 2017 at 7:56 am #1420030That worked… thanks!
Is there a way to get this width on all posts automatically or do I have to use cornerstone on posts to make the adjustments manually.
I haven’t been using Cornerstone for posts because the read more link doesn’t work.
March 25, 2017 at 9:07 am #1420051Hi There,
You can try adding the following CSS under Customizer > Custom > Global CSS:
.single-post .entry-content.content {max-width: 25em;margin: 25px auto;}
Hope it helps 🙂
March 25, 2017 at 9:11 am #1420055How would i remove the sidebar and center the text?
March 25, 2017 at 10:38 am #1420092Hi There,
Please add this CSS instead:
.single-post .x-sidebar { display: none; } .single-post .x-main { float: none; margin: 0 auto; }
Hope it helps 🙂
March 25, 2017 at 12:16 pm #1420158Will x theme have more blog display options soon? It would be nice to have a setting for no sidebar centered posts with shorter text.
March 26, 2017 at 12:36 am #1420449Hello There,
Thanks for updating in! We certainly appreciate the feedback! This is something we can add to our list of feature requests. This way it can be taken into consideration for future development. All of these items are discussed with our team internally and prioritized based on the amount of interest a particular feature might receive.
Thanks!
-
AuthorPosts