Archived topic
padding in header not working
7 replies · Started by Ralf on July 31, 2017
hey again ;)
i put a text in the header section and tried to get it in the correct position... the padding for top and bottom is working BUT the left padding NOT ... can you figure out why ? ...
here is the page:
http://industriealpine.ralfbayer.com/kontakt
thank you !
PS:
i don't know if i said it clear (i am not native english speaking sorry)... the text in the header is total left and i don't want it that way - there must be some space ... thx
Hi there,
Try this CSS:
.inside-page-header {
padding-left: 200px;
}
works ! - you're the best :) - thank you once more Leo !
sorry if i bother you , but then i also wanted a padding for the bottom and changed the code to :
.inside-page-header {
padding-left: 100px;
padding-bottom: 100px;
}
but nothing happend ... what did i do wrong ?
That one you can just use decrease the top and bottom padding here:
https://docs.generatepress.com/article/page-header-content/#top-bottom-padding
Looks like you are using 10%, try something like 5%.
exactly - 5% works - Leo, once again - thank you so much !!!
You're very welcome :)