- This topic has 9 replies, 6 voices, and was last updated 3 years, 9 months ago by
Leo.
-
AuthorPosts
-
April 13, 2016 at 4:46 am #186469
Rogi
In the one container layout, how to putting the content width in percentage and not in pixels?
April 13, 2016 at 7:44 am #186520Roberto Enrique
You cant.
April 13, 2016 at 8:29 am #186534Asier
And what size would you say is the best one for the container? I find it a bit annoying because in my 13″ Mac the layout seems too big and the sidebar goes out the screen. Meanwhile, in my 23″ PC it looks ok, but if I make it smaller so it looks good in the Mac, it looks a bit desproporcionate in the PC…
Any suggestions?April 13, 2016 at 11:02 am #186595Tom
Lead DeveloperLead DeveloperYou can using CSS:
body.grid-container { max-width: 90%; }
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
@asier – you could make it 3000px wide and it would still adapt to your screen (small or big), so the width is up to you.The sidebar goes out of the screen on your 13″ Mac? Any screenshots?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 14, 2016 at 9:21 am #186786Asier
Hi
– Here is a screenshot from my Mac, with zoom in browser at 100% – I’ve tried from my work computer (Windows and screen 19″), and the effect is the same than here.
– This one is with the zoom at 80%
At home, with Ubuntu and a 23″ screen it looks fine, dont need to scroll sideways to see the whole content.
I will try with the CSS, thanks for the reply
April 14, 2016 at 10:54 am #186814Tom
Lead DeveloperLead DeveloperYou have a couple things making it so there’s a horizontal scrollbar.
1. One of your tags is so big it’s leaving the container, try adding this CSS:
.tagcloud { word-wrap: break-word; }
2. Your Facebook and Google Plus like boxes are far too wide for the widget area – try reducing their width using the options they provide when you get the code for them.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 14, 2016 at 11:44 am #186842Asier
Thank you so much for your help!
You were right, the Google Plus and Facebook widgets were the problem. I tried to reduce the size, as you said, but then the widget only showed half of the content… I´ll swap them with another plugin, thats not a problem.
Your CSS code helped as well, now that long tag is inside the box.Thanks again for the support!
Have a great day
April 14, 2016 at 10:52 pm #186963Tom
Lead DeveloperLead DeveloperGlad I could help! 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 12, 2019 at 5:50 pm #927669Tully
I have tried the css but doesn’t seem to make any difference?
June 12, 2019 at 6:11 pm #927680Leo
StaffCustomer SupportAny chance you can open a new topic for your question?
This topic is quite old with multiple authors already.
Thanks 🙂
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.