Home Community Mys-Script Creative Off-Topic |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Modifying color/style/spacing for sidebar links
I've got to say... either I am just totally inept at finding what I'm looking for, or it is unnecessarily and quite frustratingly difficult to find the CSS code to change the color, style, spacing, etc. for the sidebar links in the MAIN template.
All I've managed to do is change the color of the link text when moused over... that's it. Nothing else I have edited seems to change anything else. All I want to do is add some space in between the Member Login and sidebar links, and to change their color and size perhaps. What am I missing here? |
#2
|
||||
|
||||
There are 4 files in your CSS folder in your file manager (at the host, not ACP). There's menu, online, pagination, and tabs. I think those are what you want to edit, but I could be wrong. You might also want to check the templates folder.
__________________
Avatar courtesy of Doll Divine. |
#3
|
||||
|
||||
I noticed that it doesn't look like the individual sidebar links have a class set to them, so what I did is style the a, li, a:hover, and li:hover in the #menu id.
Go to templates > main > media > style-city.css (or whatever template css you're using) and add this under the section called /* Let's fix up your menu links */ Under it use this: Code:
#menu ul a { color: #fff; } #menu ul a:hover { color: #000; } #menu li { margin-top: 5px; } Also if you want those bullets next to each link gone use this: Code:
#menu ul { list-style: none; } |
#4
|
|||
|
|||
Quote:
The style-city.css had some code there related to the sidebar links, but I could only manage to change the text color if the text was moused over. I did not find anything that could be manipulated to change the font, spacing, color, etc. Quote:
|
#5
|
|||
|
|||
@tahbikat - Thanks for the code insert. This is great for when the user is logged in. How about when they are not?
I would like to also be able to manipulate the same section when the user is NOT logged in (and the Forgot Password, Register Account, etc. text is displayed). |
#6
|
||||
|
||||
Try this:
Code:
#submit { margin-bottom: 25px; } Code:
#login a { stuff here } |
#7
|
||||
|
||||
With my Bootstrap theme, I modified the sidebar with jQuery. It's messy, but it allows you to manipulate the page as soon as it loads -- I added classes where there were none, and then made css for them. If you're interested in trying out this method, I wrote a tutorial. It's more generalized than specific, I'm afraid.
|
#8
|
|||
|
|||
Thanks for those extra lines tahbikat. Those were exactly what I needed. Your help is GREATLY appreciated.
|
#9
|
||||
|
||||
No problem!
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying Dropdown Menu | Hwona | Questions and Supports | 3 | 02-19-2014 05:30 PM |
Changing the links under Member's Links. | LucasA33 | Questions and Supports | 1 | 12-24-2013 09:04 PM |
Paid Theme : Clan Style | Tequila | Templates and Themes | 30 | 02-03-2013 03:24 PM |
Sidebar Links | Yuki Night | Questions and Supports | 11 | 01-29-2013 05:49 PM |
Premium Color *shot* DX | PTGigi | Feedback and Suggestions | 12 | 01-16-2011 03:10 PM |
What's New? |
What's Hot? |
What's Popular? |