Results 1 to 3 of 3

Thread: CSS - sexy panels menu - 'current' state...

  1. #1
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS - sexy panels menu - 'current' state...

    Hi folks,

    A quick question and hopefully a quick fix.

    I have implemented the sexy panels css menu, things are working pretty well.

    I have 2 issues that I would appreciate some help with:

    Firstly, and most importantly, anybody know the css I can implement to create a 'current' state i.e I have hover etc. but I want the user to know what page they are on, so making that link a particular colour for example? I'm sure I have seen the css before somewhere.

    Secondly, is more of a bug, if you navigate to my site http://www.streetwisesystems.com , you should see that when you hover over the left hand menu, the buttons appear to be doing funny things, disappearing and re-appearing, think this may be specific to IE. Any ideas?

    Cheers.
    Ryan

  2. #2
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    The disappearing thing is just an IE bug - it's fine in Firefox... (On my computer, anyway)

    To make a "current" state, simply add a class to the <a> of the menu:
    CSS:
    Code:
    #menu ul li a.current {
    color:#fff;
    etc...
    }
    HTML:
    Code:
    <li><a class="current" href="page">Link Item</a></li>
    Hope this helps,
    X96
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

  3. #3
    Join Date
    Feb 2009
    Posts
    303
    Thanks
    18
    Thanked 36 Times in 36 Posts

    Default

    To add to that list...

    Another few great Wordpress Themes sites are:
    - http://www.freewpthemes.net/
    - http://wordpress.org/extend/themes (The official themes site)

    Some great resource sites are:
    - http://www.bittbox.com/ > Free articles and resources for programmers
    - http://www.textureking.com/ > Free textures for backgrounds and stuff
    - http://www.freecsstemplates.org/ > Great free templates
    - http://x96-templates.uuuq.com/ > My Free CSS Templates site
    - http://www.cssdrive.com/ > The best inspiration site if you have designers' block

    Cheers,
    X96
    Alex Blackie, X96 Design
    My Website
    I specialize in: HTML5, CSS3, PHP, Ruby on Rails, MySQL, MongoDB, Linux Server Administration

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •