Archived topic
How to change position H1
7 replies · Started by mistergubu on January 28, 2022
I want to change the position of H1 in pages of this site, to put it under the header, ¿how I can do it?
https://ibb.co/jhqbmx7
I am building this site with the template 'Solo'.
Thanks
Hi there,
the site is using a Header Element to create the Merged Header:
https://docs.generatepress.com/article/header-element-overview/
Go to Appearance > Elements and edit the element titled: Global header
Change the Display Rule Locations to just the Pages ( eg. Front Page ) you want the merged effect.
ok thanks, I see now.
Now I have another issue: In the inner pages, the main image (merged with header) don't fill all the width of the browser.
https://ibb.co/fX8M0y4
What should I do to achieve it?
Hi there,
You can create a block element - page hero and assign it toposts > all posts.
https://docs.generatepress.com/article/block-element-page-hero/
ok thanks Ying, I got it creating a specific page hero.
I have one more issue with the customization of this template, it is a different kind of issue, I don't know if I should open another post, but here it is: I don´t know hot to set the base font for all body tag.
In Appaerance > Typography, I set two fonts, Open Sans and Passion One. I can assign any of the fonts to H tags, title of the site... but I don't know hoy to set Open Sans as base font for body{}.
In the css of my customized 'Solo' Template I see:
body{font-family:-apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";}
I don't understand well this, in any case my question is how to set 'Open Sans' as base font for body{font-family:Open Sans} through GP Controls (i know how to do it with 'Aditional CSS').
The current CSS looks like you have No font assigned to body, it's using system stack.
You can assign it to body :)
ok! Now I understand, I did not see before the option 'Add Typography and choose 'body' as Objetive Element. The template 'Solo' comes without a typography assigned to body
Sorry, I am still very rookie in GP, but with your excellent support in this community I feel very good building my first WP webs with this product.
Thanks!
You are welcome :)