Remove .siteheader on posts

Community Forums Forums General Discussion Remove .siteheader on posts

This topic is: not resolved

This topic contains 5 replies, has 2 voices, and was last updated by  BlueNinja 3 months, 3 weeks ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #112702

    BlueNinja
    Member
    Post count: 24

    Hello Guys and Gals,

    I would like to remove the .siteheader on my website posts.

    I am using the Magazine Pro I have found this bit of code to add to my custom css:

    
     .site-header { 
            display: none !important;
    }
    

    But how do I make this only work on internal posts and not homepage ???

    Can anyone offer suggestions please :)

    http://fitnessblogger.net
    #112728

    Lauren @ OnceCoupled
    Member
    Post count: 611

    .home .site-header {
    display: initial !important;
    }

    Best,
    Lauren


    I do custom WordPress work! http://oncecoupled.com
    Contact me directly: lauren@oncecoupled.com

    #112734

    BlueNinja
    Member
    Post count: 24

    Hi @oncecoupled thanks for a speedy reply

    This has worked but on homepage now my header logo and social widget is getting cut-off ??

    http://fitnessblogger.net/

    Any thoughts ??

    Cheers

    James

    #112737

    BlueNinja
    Member
    Post count: 24

    Hi @oncecoupled I have added the code but now have issue with home page logo being cut off ??

    Can you offer any help please :)

    #112742

    Lauren @ OnceCoupled
    Member
    Post count: 611

    Sorry @BlueNinja, I didn’t test that code – just threw it at you! You actually need to change it to what header was originally styled as (by the stylesheet). That would be:

    .home .site-header {
         display: block !important;
    }

    I do custom WordPress work! http://oncecoupled.com
    Contact me directly: lauren@oncecoupled.com

    #112743

    BlueNinja
    Member
    Post count: 24

    Thanks Lauren @oncecoupled your are a star :)

    Kind Regards

    James

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.