- This topic has 27 replies, 4 voices, and was last updated 5 years, 5 months ago by
Leo.
-
AuthorPosts
-
October 19, 2015 at 2:09 pm #145845
Tom
Lead DeveloperLead DeveloperYou’re welcome π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 19, 2015 at 2:46 pm #145860Anton Samarin
Tom, I found another problem. See responsive behavior http://7nov.ru/2.png az I understand right border of padding must be more to the right.
October 20, 2015 at 12:06 am #145934Tom
Lead DeveloperLead DeveloperHere you go:
@media (max-width: 768px) { .blog .page-header-content { margin-right: 0px; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 20, 2015 at 4:43 am #145979Anton Samarin
Now everithing is perfect! Thank you!
October 20, 2015 at 9:47 am #146040Tom
Lead DeveloperLead DeveloperYou’re welcome π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 25, 2015 at 3:50 am #147388tenchystryder
This is a great little hack.
I have also added it this week to my site below, however, using the Simple Custom CSS plugin you must make sure your right border is equal to element padding within themes customiser.
I have also added border to match containers..blog .page-header-content { margin-bottom: 20px; margin-right: 15px; margin-top: 0; border-style: solid; border-color: #a09696; border-width: 4px; }
I also never used the code below and it seems fine without it. The PHP script was added using the snippets plugin. This plugin seems to be getting regular updates. I have not touched functions php file.
@media (max-width: 768px) { .blog .page-header-content { margin-right: 0px; } }
I am sure an option to move items next to sideback would make a cracking update to future GP update Tom π
October 25, 2015 at 4:10 am #147389tenchystryder
As an example, this is what happens if custom css is 15px and you change element spacing (seperating space) to 20px
October 25, 2015 at 10:39 am #147476Tom
Lead DeveloperLead DeveloperSo if you adjust your custom CSS to the number you have set as your separating space, it doesn’t match up properly?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 25, 2015 at 11:33 am #147486tenchystryder
No Tom, only if they are not equal.
Image issue above happened when I set custom css value to 20px but the seperating space in elements was 15px. Then I got the offset problem. Only happened with that container (the slider). All other areas were fine.So long as the values are equal in both custom css and sperating space …. it’s fine.
My Website is set equal in both now and is running ok on both pc and mobile device.
Excuse the messy site, still work in progress. π
October 26, 2015 at 12:18 am #147595Tom
Lead DeveloperLead DeveloperAh yea, you’ll need to match the two. GP does a lot of the matching for you, but since this is custom CSS, you need to be sure to match it whatever you have set as the separating space.
Site’s looking great! π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentOctober 14, 2017 at 3:27 pm #403311Anton Samarin
Hi, Tom! I try to adjust page header position for another site http://historiosophy.ru but css doesnt work at all. It doesnt change anything. The problem is top margin http://historiosophy.ru/Screenshot_2.png Please help! )))
October 14, 2017 at 3:39 pm #403317Anton Samarin
Solved – Container: full width )))) Thank you fore a great theme!
October 14, 2017 at 5:21 pm #403350Leo
StaffCustomer SupportGlad you found the solution!
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.