H1 padding / margin

Home Forums Legacy Support Support queries Child Themes H1 padding / margin

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #329034
    shakdHSAF
    Participant
    Hello, I want mor padding / margin between h1 and header. Pls see https://www.community.shantipreneur.com/. What do I add in the child theme? Thanks
    #329247
    Diana
    Participant
    Dear User, No need to use Blank Child Theme. It is possible simply with custom css Add this in wp-admin > Appearance > Customize > Custom CSS > publish .home-page .pagetitle h1{padding-top:80px !important} refer: http://prntscr.com/w26cm8 You can change the px in the above CSS to adjust the paadding. But yes this will only work for home page
    #329531
    shakdHSAF
    Participant
    Hi, thanks. I want it for ALL pages not only for the homepage. Can you give me corrected CSS? Thanks
    #329612
    Diana
    Participant
    It will be like: .pagetitle h1{padding-top:80px !important}
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘H1 padding / margin’ is closed to new replies.