Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Active Page Link

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34688
    Bingham
    Member

    Is there a way to customize the link on an active page without having to write a lot of markup?

    Example:
    On the site, I want the links to appear green, hover orange, and when “home” page is showing, I want that home link to be purple but all of the other links to be green still.

    Is there an a:current tag out there?

    I could write < span >home< /span> gallery | gallery |… and redefine with purple link characteristics and then just change the span on every page. That is a lot of extra markup and checking. I’m seeking a shortcut.

    #88725
    seb_z_lite
    Member

    it’s not a:current,it’s a:active.

    a:link /* unvisited links */
    a:visited /* visited links */
    a:hover /* user hovers */
    a:active /* active links */


    */

    this is basic css!

    #88853
    Bingham
    Member

    @wolfcry911 thanks for the help on that. I don’t really know PHP so a CSS based solution is what I have to use.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.