Home>Support>Remove Specific Links on Navigation Menu

Remove Specific Links on Navigation Menu

Hello,

How and where do I remove a specific text that links to another page on the navigation (masthead) menu? I couldn’t find it within the php file.

I have created several pages but I don’t want them to appear in the navigation menu.

Thanks.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 12 days, 13 hours ago -

    I’m also having a dilemma of keeping the button text and the navigation scaling properly, looks fine in desktop mode, but it squishes rather than compacting properly on tablet and mobile mode.

    I tried 10 to 900 with the menu breakpoint in themes settings > responsive, it just makes the navigation menu disappear.

    Also tried testing with the responsive layout by disabling but it doesn’t do much other than keeping it in full desktop mode.

  2. 11 days, 14 hours ago Andrew Misplon Hi, I Work Here

    Hi, thanks for reaching out.

    You can control the links in your menu from AppearanceMenus. Create a custom menu, assign it to the theme’s primary menu location, and then decide which pages/posts/custom links to add.

    If you can send a link to the page concerned, we can take a look at the other questions mentioned. Thanks.

  3. 11 days, 11 hours ago -

    Hi Andrew, thanks for replying!

    I’ve got the links controlled now, thank you!

    Here’s the website, basically every page I switch to from home to disclaimer to blog to posts, the navigation menu links stacks on top of each other rather than shrinking the width of the bar so it fits correctly in a line. It’s fine on the desktop, but when switching to tablet mode and mobile preview it stacks the links on top.

    I’ve tested this by viewing the website my iPhone X and it stacks like that.

    This goes for the same with the link text in the middle, it doesn’t center it self like the bottom copyright header.

  4. 11 days, 10 hours ago -

    Also I forgot to mention, within the php file where you add the privacy policy link at the bottom footer, how can I go about adding another link there also?

    It seems that the code goes something like:

    if ( function_exists( ‘the_privacy_policy_link’ ) && siteorigin_setting( ‘footer_privacy_policy_link’ ) ) {
    the_privacy_policy_link( ”, ” );
    }

    WP already has that privacy policy function, how do I add another function, e.g. the_disclaimer_link?

  5. 11 days, 6 hours ago Andrew Misplon Hi, I Work Here

    Thanks for the update.

    At CustomizeTheme SettingsResponse, check that Disable Responsive Layout is not enabled. Check that the Menu Breakpoint is set to 600 or higher. If both settings are correct, try switchig back to the parent theme, see if the issue persists.

    The heading “Text” in the middle of the page appears to be centered when I view the site.

    You can add footer links via CustomizeTheme SettingsFooterFooter Text. The field accepts HTML.

  6. 10 days, 23 hours ago -

    Hi,

    I have checked that Disabled Responsive Layout is not enabled and the Menu Breakpoint is set to 600 or higher (I’ve put down 800), it’s stil showing the navigation links stacking on top of each other (the bar is constrained to the screen size correctly). I have also switched to parent theme currently and the issue is still the same.

    The text is still not centered in the middle, it’s leaning to the right side with large extra spaces.

    Desktop is fine, but viewing it on iPhone shows these issues stated above. Does it look normal on your mobile/tablet device? It’s not formatting properly on the iPhone.

  7. 10 days, 23 hours ago -

    I’ve added the footer links, thank you!

    Finally for the footer, how do I keep it in place at the bottom of the screen, rather than right below the texts every time but also to ensure the footer link/credit below will scale properly according to device screen size?

    I’m adding the top margin and and top padding but doesn’t seem to move the footer below.

  8. 10 days, 21 hours ago -

    OK so I refreshed and reinstalled the parent theme, so it loads the original mobile navigation menu as a drop down menu but that’s not what I want.

    Is there a way to configure so it’s the same as the menu in desktop mode instead of a click drop down menu?

  9. 10 days, 21 hours ago -

    I’ve set the footer ‘top margin’ to 155 which fits for mobile view, but it doesn’t fit for desktop view unless I set it to 653. I’m unable to get it sit correctly at the bottom of the website.

  10. 10 days, 19 hours ago Andrew Misplon Hi, I Work Here

    Hi, thanks for your feedback.

    North, unfortunately, doesn’t offer a sticky footer. You can try adding min-height to the .content-area div using Custom CSS.

    The mobile menu seen in the demo https://demo.siteorigin.com/north/ is the mobile menu North has to offer. You can try using a plugin like Responsive Menu if you’d like an alternative.

    The text is centered as far as I can see. https://imgur.com/a/dvPK5Js

  11. 10 days, 17 hours ago -

    OK thank you!

    So I changed the text button instead of using the OriginSite Button to this:

    This is A Link

    I also copied this into the style.css:

    a:link {
    text-decoration: none;
    }

    The hyperlink still has the line underneath it (but I also want all the hyperlinks within my website to not have any lines), I’ve removed all other additional/custom css except ones that are controlling the headers). The colour on the hyperlink isn’t changing either.

  12. 10 days, 17 hours ago -
    <center><h1 style="font-size:7vw"; color:red;><a href="">This is A Link</a></h1></center>

    I am not good using the code thing, instead it showed up as an actual HTML in the reply! Hopefully it displays properly this time?

  13. 10 days, 10 hours ago Andrew Misplon Hi, I Work Here

    Hi, I’ve added a CSS snippet at the bottom of the documentation page for removing link underlines Page: CSS Snippets.

  14. 10 days, 10 hours ago -

    Hi,

    I found out what went wrong after looking up CSS rules, and after many hours of looking and recapping on CSS and HTML, I went off and decided to learn and understand how to create PHP and make my custom CSS.. learning curve became deep. Hahaha, at least I can learn a little more.

    I found out WordPress was giving too much restrictions, and I don’t have the ability to modify existing frameworks but it was nice to study how the php files go.

    If all things fail, I’ll return back using the template.

    Thank you for your help!

  15. 10 days, 6 hours ago Andrew Misplon Hi, I Work Here

    No problem, all the best :) Cheers for now.

Please log in to post on our forums. Signing up is free.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More