Advertisement:

Author Topic: How do I remove the path on the top of my forum  (Read 670 times)

Offline Dwev

  • Semi-Newbie
  • *
  • Posts: 21
How do I remove the path on the top of my forum
« on: November 09, 2017, 07:36:17 AM »
I'm testing SMF and things are going well.

But there's one thing that bothers me, on the top there's a navigation that's always visible (right now on this forum it's "Simple Machines Community Forum » SMF Support » SMF 2.1.x Support » Start new topic").

I'm pretty sure that there's a place where I can switch this off, but after looking for it waaaay too long already.
So I'm turning to all of you for help, because it seems to elude me.

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,855
Re: How do I remove the path on the top of my forum
« Reply #1 on: November 09, 2017, 07:37:49 AM »
there is no "switch" to turn off the linktree. for many they find it useful to have it where it is. you would need to modify the templates to remove it.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 67,881
    • Arantor on GitHub
Re: How do I remove the path on the top of my forum
« Reply #2 on: November 09, 2017, 08:16:12 AM »
Especially when in 2.1 if you're using 2.1, it contains the links for unread topics and unread replies, really useful features.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,857
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: How do I remove the path on the top of my forum
« Reply #3 on: November 09, 2017, 08:55:56 AM »
Personally, I couldn't stay on a forum that didn't have it. That (and the jump box) is how I navigate around.
Please do not PM me for support.

Offline Dwev

  • Semi-Newbie
  • *
  • Posts: 21
Re: How do I remove the path on the top of my forum
« Reply #4 on: November 09, 2017, 10:02:56 AM »
Ok, I'll keep it, and from now on I know it's called the link tree.

But that decision leads to a new question: my link tree is mostly hidden under my navigation of the theme on my test site: www.robert-benschop.nl/smf/index.php [nofollow]

Does anyone have a tip how to move the link tree further down, so that it would be visible?
« Last Edit: November 09, 2017, 10:41:48 AM by Dwev »

Offline Dzonny

  • Lead Localizer
  • SMF Super Hero
  • *
  • Posts: 11,569
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: How do I remove the path on the top of my forum
« Reply #5 on: November 09, 2017, 10:46:26 AM »
Which theme is that you're using? Looks like your linktree doesn't actually contain links, but just text, for some crazy reason.

Offline Dwev

  • Semi-Newbie
  • *
  • Posts: 21
Re: How do I remove the path on the top of my forum
« Reply #6 on: November 09, 2017, 10:50:35 AM »
The theme is called Morning: https://custom.simplemachines.org/themes/index.php?lemma=2872

The Link Tree does have links, but it's almost completely hidden under the menu.

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,855
Re: How do I remove the path on the top of my forum
« Reply #7 on: November 09, 2017, 10:56:40 AM »
there used to be an option in SMF Show current position in forum as link instead of text in current theme in admin, but for the most part this was removed over time. it may still work in this case.

can you provide a screenshot of the issue you are seeing?

you may be better off posting in the themes support topic to get help from the author.

Offline Dwev

  • Semi-Newbie
  • *
  • Posts: 21
Re: How do I remove the path on the top of my forum
« Reply #8 on: November 09, 2017, 11:25:35 AM »
I've added a screenshot, you can see the Link Tree just sticking out on the bottom of the Menu, less than 10 percent visible.

And 'Dzonny' was right, Index in the Link Tree is clickable, but the rest of the Tree isn't.

Last but not least: I think 'Illori' is right as well, I just changed to one of the standard themes and the Link Tree works immediately.  :'(

Offline Steve

  • Support Specialist
  • SMF Hero
  • *
  • Posts: 3,857
  • Gender: Male
  • I have not yet begun to procrastinate.
Re: How do I remove the path on the top of my forum
« Reply #9 on: November 09, 2017, 12:03:21 PM »
'Illori' is right as well, I just changed to one of the standard themes and the Link Tree works immediately.  :'(

Which means you'll have to do as Illori suggested, post in the Theme's thread for help. Morning
Please do not PM me for support.

Offline Dwev

  • Semi-Newbie
  • *
  • Posts: 21
Re: How do I remove the path on the top of my forum
« Reply #10 on: November 09, 2017, 04:57:30 PM »
I just realised that it's a problem specific for Safari, the Link Tree is visible in Chrome, Firefox and Opera.

Does that still mean that I should write this in the Theme section, or does the problem belong here after all?

Offline Illori

  • Project Manager
  • SMF Master
  • *
  • Posts: 47,855
Re: How do I remove the path on the top of my forum
« Reply #11 on: November 09, 2017, 05:27:56 PM »
you can try to ask the theme author to fix the issue but if it is only in safari it may be harder to fix.

Offline Dwev

  • Semi-Newbie
  • *
  • Posts: 21
Re: How do I remove the path on the top of my forum
« Reply #12 on: November 10, 2017, 10:25:43 AM »
I haven't found the solution for Safari yet, but did get the answer to my original question.

If you open index.css and under .navigate_section ul you change display: block to display: none the Link Tree disappears completely.

I'll try to fix the problem later, but since this is for a Mac forum it's rather essential that it works right in Safari.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,910
  • Too long in the wasteland
Re: How do I remove the path on the top of my forum
« Reply #13 on: November 10, 2017, 12:10:09 PM »
Just took a quick look, the problem is in the div structure around theme_linktree().  You have to separate the linktree div so the stuff above it doesn't overlap.  Don't have time to tinker with it now, and can't see it in safari anyway, but look at the code in Curve, you should be able to modify the Morning theme so that part works the same in all browsers.

Offline Dzonny

  • Lead Localizer
  • SMF Super Hero
  • *
  • Posts: 11,569
  • Gender: Male
  • No sleep...
    • dzontra.nikola on Facebook
    • Dzonny on GitHub
    • dzontranikola on LinkedIn
    • @opusteniforum on Twitter
    • Samo opusteno
Re: How do I remove the path on the top of my forum
« Reply #14 on: November 10, 2017, 07:33:50 PM »
And still, that linktree will actually be just a a text with a names of boards-categories-topic, without actual link, which is nonsense IMO.
Shouldn't linktree(); be defined in Sources files, if so, this is custom-made function unrelated to default linktree, right?

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,910
  • Too long in the wasteland
Re: How do I remove the path on the top of my forum
« Reply #15 on: November 10, 2017, 09:45:54 PM »
Nothing wrong with theme_linktree(), it's just buried in a nest of divs.  If you drop it below the header, like this -

Code: [Select]

</header>
<div class="container">
<div id="content_section">';

// Show the navigation tree.
theme_linktree();

}

function template_body_below()


  it should work fine in all browsers.  Will have to wait for OP to view it in safari.

Offline Dwev

  • Semi-Newbie
  • *
  • Posts: 21
Re: How do I remove the path on the top of my forum
« Reply #16 on: November 11, 2017, 10:02:47 AM »
A friend of mine (who knows much more about css than I do) added the following code to the theme.css, now it shows ok in all browsers:

Code: [Select]

#bottombar
{
background: #ebedf0 none repeat scroll 0 0;
border-bottom: 1px solid #e4e6e9;
margin-top: -30px;
min-height: 60px;
text-align: left;
margin-bottom: 20px;
}


@ Sir Osis of Liver: thanks a lot for solving this problem as well, I'm actually curious which solution would be considered the best one.

Offline Sir Osis of Liver

  • SMF Hero
  • ******
  • Posts: 6,910
  • Too long in the wasteland
Re: How do I remove the path on the top of my forum
« Reply #17 on: November 11, 2017, 11:36:42 PM »
Simpler is always better.  The Morning theme uses way too many divs in the index header, but unless you want to do a more extensive rewrite, use whichever fix works best.  I've used negative margins, but they can cause problems.  Android browsers are especially fussy, if you have mobile users check the theme in android chrome, silk, and whichever browsers iphone uses.