Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Feature Discussion > More CSS Classes needed
mishy (Guild Admin) 12/19/2004 9:18 AM EST : More CSS Classes needed
mishy
Posts: 3581
Zomgawsh Poster

Specifically related to links. I would like to have different styled links for different parts of the website. In order to do this, each link requires its own css class.For example, i want to use a different style for the links in the main navigation tabs at the top of each page, so they appear different to the rest of the site.And im sure other links could be grouped up into different styles, such as the forum navigational links etc. It wouldnt break old styles, since even links with classes attached, would display the default link style is someone hasnt assigned that class its own styling.Heres an example of what i mean(clicky

TopBottom

Aaron Lewis (Blue Collar) 12/20/2004 2:45 AM EST : RE: More CSS Classes needed
GuildPortal Dev
Aaron Lewis
Posts: 1979
Zomgawsh Poster

name="4322190">

Alrighty, can do.  Want alternating CSS classes for the current page vs. non-current?  So if you're on the Home page, it's got something like .topTabLinkActive while the Forums page would have .topTabLinkInactive?  Could match this with the side nav, too (.sideNavLinkActive and .sideNavLinkInactive).

Aaron Lewis, GuildPortal.com
TopBottom

mishy (Guild Admin) 12/20/2004 3:21 AM EST : RE: More CSS Classes needed
mishy
Posts: 3581
Zomgawsh Poster

Could do, although that might over complicate things, i would think determining which tab is active and which are inactive can already be styled using the current classes available?

TopBottom

Aaron Lewis (Blue Collar) 12/20/2004 4:01 AM EST : RE: More CSS Classes needed
GuildPortal Dev
Aaron Lewis
Posts: 1979
Zomgawsh Poster

Ahhh, ok, so just the links then?
Aaron Lewis, GuildPortal.com
TopBottom

Aaron Lewis (Blue Collar) 12/20/2004 4:15 AM EST : RE: More CSS Classes needed
GuildPortal Dev
Aaron Lewis
Posts: 1979
Zomgawsh Poster

name="4322871">

Added “topTabLink” and “sideNavLink” styles to all the links, so you can set them for whatever type of navigation you're using.  Will go live with the next push (tonight). 

Aaron Lewis, GuildPortal.com
TopBottom

mishy (Guild Admin) 12/20/2004 4:24 AM EST : RE: More CSS Classes needed
mishy
Posts: 3581
Zomgawsh Poster

cool, thanks.

TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%