Fork me on GitHub

A complication in link colors.  Bottom

  • This may seem like a simple quesiton, but I have tried numerous things and can't seem to get what I want to work. First off my site is: http://www.ringobsession.net. There is a menu on the left side of the site filled with links, these links are gold (E4B002) but I want them to be greenish (98a718). They were originally green, but I was messing around with my stylesheet and made it to where all links are the gold color (all over my site, not just the menu) and this has in turn made the links on the left also yellow. I tried opening the menu.html file. Because this is the file that has that huge list of links on. I tried putting font color tags around this file but it did not alter the colors.

    Then I tried making a class (I don't know a thing about doing classes so I possibly did it wrong). I put ".menu-color {font-family: Verdana; font-size: 11px; color: #98A718;}" in my stylesheet then in the table tags on my menu.html I put class=".menu-color" this too did not have an affect at all on the links on the left. So, is there any way that I can change these links to the green color instead of gold? But JUST for the links on the left, I would like the rest of the site to have gold links.
  • here is an example how to create a class. in your case leftmenu:

    .leftmenu {text-decoration:none;font: normal 11px Verdana;color: #98A718;}
    .leftmenu A:link {text-decoration:none;font: normal 11px Verdana;color: #98A718;}
    .leftmenu A:visited {text-decoration:none;font: normal 11px Verdana;color: #98A718;}
    .leftmenu A:hover {text-decoration:none;font: normal 11px Verdana;color: #98A718;}
    .leftmenu A:active {text-decoration:none;font: normal 11px Verdana;color: #98A718;}

    the values have to be set by you, font, size, text-decoration (can be underline instead of none) if you want to have the link colour changing when the mouse is over, edit the colour in Hover

    now you only need to find in your theme for the leftblock HTML and put class:leftmenu in the table tags. If you don't have a leftblock HTML you also can do it at your theme.html or PHP where at the leftcolumn table tag

    If you having problems with this sent me a private message, and I will give you an email where you can the theme to and I fix it for you
  • Sorry for the delayed response. I've been a bit busy. I just tried what you suggested Mazalleh, and I have to say thank you very much! This worked for me and I also was taught a great deal about stylesheets. I put a lot of those classes in my PNphpbb forum, so now all the links won't have to be the exact color. Thanks!

This list is based on users active over the last 60 minutes.