- This topic has 13 replies, 2 voices, and was last updated 6 months, 3 weeks ago by
David.
-
AuthorPosts
-
August 13, 2020 at 5:27 am #1400722
Manuel
Hi there,
we have set our container width to 1350px and have seen that some pages like a blog page and a woocommerce single product page are only 1210px width.
Is that for a special reason?
How can I set them also to 1350px?Thanks and best regards
DominikAugust 13, 2020 at 5:31 am #1400731David
StaffCustomer SupportHi there,
you have this CSS which as adding 60px margin:
@media (min-width: 1025px) { #content, .page-hero{ margin-left:60px; } .inside-navigation{ margin-left:60px; } .main-navigation > .inside-navigation{ border-left:1px solid #cccccc; } }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 5:45 am #1400753Manuel
oooouwww…thanks! didn’t realise that this was the problem.
The designer defined this margin for sides over 1024px as shown on the home site. (for the little arrow on the left).Would you recommend a better way to add this margin with less problems in further development?
Thanks a lot π
August 13, 2020 at 6:02 am #1400778David
StaffCustomer SupportCan i see a single post or product so i can take a look – your current URL is showing Not Found.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 6:06 am #1400787Manuel
Sure π
…..links deletedwe use some generateblocks in full width (except the 60px) and some in contained width, as shown on xxxxxx
August 13, 2020 at 6:23 am #1400806David
StaffCustomer SupportTry adding this function:
// Add page wrapper add_action( 'generate_after_header' , function() { ?> <!-- Page wrapper --> <div class="page-wrapper"> <?php }, 50 ); add_action( 'generate_before_footer' , function() { ?> </div> <!-- Close page wrapper --> <?php }, 50 );
This will wrap the #page element inside a
page-wrapper
element.
Then you can apply the margin topage-wrapper
class.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 6:39 am #1400828Manuel
THAAAAANK YOU! It works perfect.
πAugust 13, 2020 at 6:39 am #1400832David
StaffCustomer SupportGlad to be of help.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 6:47 am #1400846Manuel
damn, we lost the footer π
everything else is workingAugust 13, 2020 at 7:44 am #1400934David
StaffCustomer SupportHmm.. can you link me to where i can ‘see’ the missing footer – if you know what mean π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 7:45 am #1400935Manuel
Here we go:https://hk.brandwerk-digital.com/
August 13, 2020 at 7:48 am #1400960David
StaffCustomer SupportAah the close comment is wrong.
I updated the code hereDocumentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/August 13, 2020 at 7:57 am #1401094Manuel
Great β itΒ΄s back again.
Thanks for the great support!August 13, 2020 at 7:59 am #1401097David
StaffCustomer SupportYou’re welcome
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.