- This topic is empty.
-
AuthorPosts
-
August 31, 2014 at 11:25 pm #181290ostinohParticipant
Hello –
First time here and I need help I’m so stuck. I have topnav bar and I’m adding a new tab to and eventually add sub menus?
The issue I’m having is finding the area in the style.css file where I can adjust and move the text down to make it even with the others.
Here is a link to a screenshot showing what I was trying to find.
Thank You
DavidSeptember 1, 2014 at 3:46 am #181296Paulie_DMemberYep, a live link and a more precise description of what you are trying to do would be helpful.
September 1, 2014 at 5:38 am #181307SenffParticipantYou’re probably going to have to go to the /sites/all/themes/vso/css directory, and edit the style.css file. The styles for the menu are near line 1450, where you’ll find styles for stuff like
#block-nice-menus-1
and#block-nice-menus-1 ul li
and such.September 1, 2014 at 9:43 am #181319ostinohParticipantHere is a link to the website Our Website
Did you need to see the whole style.css file as well? If so what is the best way to do that here cut and paste?
You can see on the front page of the website at the top menus the tab ‘Teams’ is out of alignment with the other tabs. I’m trying to find out where in the style.css if that I can change the alignment.
Thank you so much for the help. I’m new to CSS but a DBA by trade so I can get around in code.
David
September 1, 2014 at 10:10 am #181321Paulie_DMemberIt’s out of alignment because it doesn’t have a link in it like all the others do.
i don’t know why…but the simplest solution is to swap out the
span
that’s in there instead for a link even if thehref
doesn’t go anywhere.Alternatively, add a line-height to
.menu-path-nolink
of around 24px…that should do it.September 1, 2014 at 3:18 pm #181334ostinohParticipantPaulie D –
Thanks you I ended up adding the <front> link that way it will allow me to add the sub-menus?
I was wondering and looking for where would I add .menu-path-nolink? I searched and good not find in the stlye.css file.
Thanks,
DavidSeptember 1, 2014 at 10:19 pm #181352Paulie_DMemberwhere would I add .menu-path-nolink
Not sure to be honest…it’s been added to the HTML either by you or whatever theme / template you are using so I would assume it exists somewhere….but, if not, anywhere in the navigation section of your CSS file.
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.