ElkArte Community

Title: Forum top menu out of alignment?
Post by: cjazz on August 08, 2015, 05:21:48 pm
I have another new problem which needs solving.
There is a type of sub-menu,  top of the forum (below the logo), the alignment is not quite correct the first link is covered (see pic) any idea what is causing this?
Title: Re: Forum top menu out of alignment?
Post by: Flavio93Zena on August 08, 2015, 05:30:08 pm
Once again... LINK! I tried to google Club126uk at no avail, it brings me to a 1.1.21 SMF...
Title: Re: Forum top menu out of alignment?
Post by: cjazz on August 08, 2015, 05:39:08 pm
So sorry.
The link to the new board is http://club126uk.co.uk/forum2/ it's still under development.
Title: Re: Forum top menu out of alignment?
Post by: emanuele on August 08, 2015, 06:08:26 pm
Did you edit the template to add that first "arrow"?
Because it is generated by an empty <li>, could you attach your index.template.php?
Title: Re: Forum top menu out of alignment?
Post by: cjazz on August 08, 2015, 06:27:02 pm
I cannot recall editing index.template.php. Please find attached the file in question
Title: Re: Forum top menu out of alignment?
Post by: emanuele on August 08, 2015, 06:40:41 pm
Addons installed?
Title: Re: Forum top menu out of alignment?
Post by: cjazz on August 08, 2015, 07:01:42 pm
attached packages
Title: Re: Forum top menu out of alignment?
Post by: Spuds on August 09, 2015, 06:37:47 am
Quote from: emanuele – Did you edit the template to add that first "arrow"?
Because it is generated by an empty <li>, could you attach your index.template.php?
For sure thats the problem, I'd suspect either simple portal or ultimate menu. 
Title: Re: Forum top menu out of alignment?
Post by: Burke Knight on August 09, 2015, 08:02:22 am
I run both those on my sites and not had that happen.  Looks more like a custom edit may be the cause.
Title: Re: Forum top menu out of alignment?
Post by: emanuele on August 09, 2015, 08:33:22 am
Ohh no, it's much easier: you emptied out the forum name and the first entry becomes empty.

Is there any particular reason to have the name empty?
I would discourage this practice, because it breaks several things, like most of the notifications that use the forum name in any place.

If it is just for the header layout, I'd suggest you to go to the theme settings and select for the "Header layout" the "Only logo" entry, then if you want the logo on the left side, just add to your custom.css:
Code: [Select]
.centerheader #logobox {
    float: left;
}
Anyway, I just noticed some less-than-optimal code in that area, I'll throw few tweaks in 1.0.5. O:-)
Title: Re: Forum top menu out of alignment?
Post by: cjazz on August 10, 2015, 09:45:09 am
emanuele your fix worked ;) Thank you
 
There was an edit :-[ with the settings.php file which I completely forgot about, and caused the problem. The line:
Code: [Select]
$mbname = 'My Community';
was changed to
Code: [Select]
$mbname = '';