Home Forums Weaver Xtreme Theme Hide Menu on Image.php

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #18373
    williamweaver
    Participant

    I would like to hide the menu on image.php…is that possible?

    #25130
    scrambler
    Moderator

    Not sure what page that references.

    Please provide a link to you site page in question so we can check which specific ID they hold.

    Then we can give you CSS to remove the header image in them

    #25131
    williamweaver
    Participant

    There is no page scrambler. If it was a page, I could figure that one. πŸ˜‰ Not wanting to remove header image…remove menu from image.php

    image.php is for: Images / Attachments content template

    It’s for an adult site, so I didn’t post a link. Let me go create something in a sandbox.

    #25132
    williamweaver
    Participant

    There might be a page number associated with attachments but it will be for all attachment images on image.php

    Trying to get sandbox with this setup setup…see you in a day or two.

    #25133
    scrambler
    Moderator

    If it is the image attachment page, they have the body class attachment. So you can add the rule below in Main Options > Fonts & Custom > Custom CSS Rule box to hide the primary menu in them

    .attachment #nav-primary {display:none;} 

    #25134
    Weaver
    Keymaster

    @scrambler ‘s rule will just hide the menu. If you really don’t want the menu content in the HTML on the Attachement page (image.php), you’d have to build a child theme with a custom header.php which is where the menus get generated.

    #25135
    williamweaver
    Participant

    @scrambler will work for short-term fix @weaver is what I will do for the long-term solution.

    Where do I find your donate to charity links @scrambler? I’ve forgotten.

    #25136
    Maureen
    Participant

    See the Tips Jar page here: http://weavertheme.com/tip-jar/

    #25137
    williamweaver
    Participant

    Thanks @ Maureen…donation to Apne sent.

    Not only does Weaver kick ass, but support is A #1 πŸ™‚

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.