Can I hide the menu from a page?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #493
    Anonymous
    Guest

    Hi,

    I simply would like to hide the menu from the front page and instead have a few fields to click, like in Services or Portfolio. Is it possible to hide the menu from some pages?

    Thanks
    Kamil

    #1254
    admin
    Participant

    Hi Kamil,
    Quick solution is via CSS.

    Point to selective customization is that, WordPress adds special classes based on post, pages etc in the body tag. So you have to look into the page source to implement your settings.

    Example:

    Our Contango Demo Front Page body classes are:

    [/CODE]

    So i can hide menu at Front page by writing the following code in style.css or `Appearance > Contango Options > Extend Settings` box

    [CODE].page-template-template-front-page-php #nav {
    display: none;
    }[/CODE]

    So, you can hide menu on specific pages by adopting selective customization technique.

    Thanks[CODE][/CODE]

    So i can hide menu at Front page by writing the following code in style.css or `Appearance > Contango Options > Extend Settings` box

    .page-template-template-front-page-php #nav {
    display: none;
    }[/CODE]

    So, you can hide menu on specific pages by adopting selective customization technique.

    Thanks[CODE].page-template-template-front-page-php #nav {
    display: none;
    }[/CODE]

    So, you can hide menu on specific pages by adopting selective customization technique.

    Thanks

    #1255
    Anonymous
    Guest

    Unfortunately this did not work. The code caused all the text to disappear – only pictures and site frame is visible – see attached.
    [ATTACH]29[/ATTACH] [ATTACH]30[/ATTACH]

    Here’s the page – I’m working on it, so it will be changing all the time: http://test.pentaxbody.com/home-page-london-house-removals/

    #1256
    admin
    Participant

    Hi Kamil,
    Always look source before going to implement any CSS style to classes or ids. In your home page, the body tag is,

    How to check Page Source

    – Open page in Google Chrome
    – Right click and select View page source

    Now Find Body Tag

    Hit Ctrl+F and type http://test.pentaxbody.com/home-page-london-house-removals/ – body tag structure is,

    [/CODE]

    So the appropriate code to hide menu will be,

    [CODE].page-template-template-full-width-open-php #nav {
    display: none;
    }[/CODE]

    Thanks[CODE][/CODE]

    So the appropriate code to hide menu will be,

    .page-template-template-full-width-open-php #nav {
    display: none;
    }[/CODE]

    Thanks[CODE].page-template-template-full-width-open-php #nav {
    display: none;
    }[/CODE]

    Thanks

    #1257
    Anonymous
    Guest

    Unfortunately not. I only changed template temporarily – as I said I’m working on it. You can see from the screenshot that your code worked, but removed the text from it, instead of just the menu. Also, I don’t really understand CSS, so I appreciate your detailed explanations.

    #1258
    admin
    Participant

    May be, i will require to get login to your WordPress panel to understand the issue.
    I will email you shortly.
    Thanks

    #1259
    Anonymous
    Guest

    Great, so this code worked:

    .page-id-830 #nav {
    display: none;
    }[/CODE]

    To find ID’s of items I use “Simply Show IDs” plugin – so that’s easy.

    Big thanks for going through my site – that is amazing customer support!

    Cheers
    Kamil[CODE].page-id-830 #nav {
    display: none;
    }[/CODE]

    To find ID’s of items I use “Simply Show IDs” plugin – so that’s easy.

    Big thanks for going through my site – that is amazing customer support!

    Cheers
    Kamil

    #1260
    admin
    Participant

    Thanks for the feedback.

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