Syx (
6thirty) wrote in
style_system2016-09-02 03:05 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Entry tags:
How to get rid of the underline of navigation links, as well as the size of the bar and font
Hi again. It's me, Syx, and I'm trying to get rid of the underline under the navigation links. I also want to know where I can fix the size and font-size of the navigation bar too.
Here is the code:
Could you please help me figure it out? There may be an excessive amount of code when dealing with navigation bar and navi-links section.
Here is the code:
Could you please help me figure it out? There may be an excessive amount of code when dealing with navigation bar and navi-links section.
no subject
to change the size of the navbar, find .module and add width:XXX;. you may need to adjust the size of the entries too or they may overlap with the navbar.
you can change the font sizes in .module-content.
i hope this helps! :)
Thank You!
Re: Thank You!
in your case, there is an instruction in the css somewhere that gives all the links in the body an underline. one way of fixing that is finding that particular bit of code and changing it, but if there's more than one instance of it, it's going to take some time.
another way is by adding a {text-decoration:none;} at the bottom of your css. instructions added last usually override previous instructions.
the third way is using !important. what !important does is it makes the instruction override all other instructions throughout the page. that means that if someone makes a post and adds a custom style in the html of the post, !important can override that too.
i'm not sure how well i explained it. if you're still confused about !important, here are some articles which will probably explain it way better than me:
- http://webdesign.about.com/od/css/f/blcssfaqimportn.htm
- https://css-tricks.com/when-using-important-is-the-right-choice/
- http://stackoverflow.com/questions/9245353/what-does-important-in-css-mean
Re: Thank You!
Re: Thank You!