Different header on a certain page

  • Posted in : Bloggy WP
  • Kaneisha
    Participant

    Hello! How can I change the header on just a certain page of my site? Also – if I need any certain code to make sure that new header doesn’t resize, please provide that as well. Thank you!

    My site: http://theartofapplying.com

    ahmetsali
    Keymaster

    Hi, it can be possible to add style to header specific to a page, but i didn’t understand what do you mean by header doesn’t resize, you want the mobile menu not to show up? or your header background image to stand still?

    Kaneisha
    Participant

    Remember how the header logo image would get resized to be small and you gave us all code to prevent that from happening? I just wanted to request that code for my alternative headers in case the resizing would be an issue.

    ahmetsali
    Keymaster

    then you need to use header bg image with custom css instead of using image logo. You can check these links;

    http://www.pixelwars.org/forums/topic/header-imgae/

    http://www.pixelwars.org/forums/topic/mobile-theme/

    DJLane
    Participant

    I would actually like the functionality of the original request. Is it possible to have a different header/logo on a particular page? I would like to ‘assign’ headers by category selected.

    Mehmet S.
    Keymaster

    Hi, use this in your custom css field:

    body.category-mobile h1.site-title
    {
    background-image: url( "http://themes.pixelwars.org/bloggy-wp/wp-content/uploads/2012/12/bblog-02-feat2.jpg" );
    background-repeat: no-repeat;
    background-position: center;
    min-height: 100px;
    }
    
    body.category-mobile h1.site-title a { display: none; }
    

    Note: “mobile” word is a category slug.

    DJLane
    Participant

    Thanks Mehmet!! This works as I imagined it!

    Mehmet S.
    Keymaster

    You are welcome.

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

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register