• Resolved crcc2013

    (@crcc2013)


    Hi all,

    https://relatecornwall.org

    I’ve been working on this with a charity locally to ourselves – they’ve gotten in touch as they’re having problems with a site someone built for them some years ago.

    They’d like to add additional pages to the site they have, the problem is when adding them and making them available from the primary nav menu, they don’t appear on the navigation menu on the site. If you move your mouse to the right of the menu, you can see there are two other options which should have coloured tabs, but don’t.

    I’ve trawled through all the information I have, but can’t seem to pinpoint the cause. Is this something you guys might be able to spot?

    Many thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Jason King

    (@jasoncharlesstuartking)

    Have the additional pages been set up properly with parent > child relationships?

    The sub-menu in the left column is probably listing child pages of the parent rather than using the primary menu.

    Assign a parent to a new page – does it now appear in the submenu?

    I built a couple of Relate websites, happy to help out with further advice if you need it.

    Thread Starter crcc2013

    (@crcc2013)

    Hi Jason,

    Thanks for getting back to me.

    The menu itself is a single primary menu, and has no child pages attached to it. Assigning a page as a child page doesn’t work I’m afraid.

    I’ve made a bit of progress, but to be honest this level of WordPress coding is a bit beyond my level of expertise.

    Each of the coloured tabs is actually a gif setting in a directory on the site. I believe these are then assigned through this type of coding:

    <li id="menu-item-751" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-751"><a href="/contact-us/">Contact Us</a></li>

    At some point one of the pages (originally menu-item-64) was removed and readded, which changed the menu item number. As a result, the coloured tab assigned to it no longer appears. I can force it to appear by changing the stylesheet through Chrome, but if you try and edit the stylesheet itself in WordPress, it appears blank – I’m guessing it’s a bootstrap sheet?

    As a result I have no idea how to make the changes permanent.

    Thread Starter crcc2013

    (@crcc2013)

    Hold that thought. I managed to find the way the gifs were assigned in the style sheet, found the CSS code for each one, and copied that code into the CSS Classes for the missing menu items.

    It’s a bit of a quick and dirty fix, but it’ll do the job for now – it looks like the stylesheet is stored in a folder not accessible by the editor, and person I’m working on the site for doesn’t have the FTP details anymore. Once we find these we can change the coding properly, but for now it works.

    Thanks for your help Jason =)

    Jason King

    (@jasoncharlesstuartking)

    Sorry, my mistake.

    I misread “don’t appear on the navigation menu on the site” as “don’t appear on the navigation menu on the SIDE” and thought you meant the sub-navigation.

    Glad you fixed it by yourself!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Coloured tabs disappearing’ is closed to new replies.