Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2011
    Posts
    5
    Plugin Contributions
    0

    help question EZ Pages - CSS un li div selected/hover

    Hopefully someone can help with this been looking at it and really can't see the wood for the trees - needs a fresh pair of eyes.

    I want the navigation to have a border at the top when hovered over and once selected. Have div set up for header nav li as follows:

    #header .menu ul li a{
    font-size:12px;
    line-height:40px;
    font-weight:bold;
    color:#ffffff;
    text-decoration:none;
    margin-left: 0px;
    padding: 10px 10px 5px 10px;

    }
    #header .menu ul li a:hover,
    #header .menu ul li.selected a{
    color:#f50003;
    border-top-style:solid;
    border-color: #aac3ab;
    border-width:3px;

    This seems to work in theory although if you view at http://testing.lugo.co.uk/
    on the home page 'about us' is 'selected' although its the home page not 'about us' and if you go to 'contact us' page this doesn't appear as 'selected' in the nav?

    'Design' pages works as I have set these up as a separate html files not ezpages. Any pointers on what I am doing wrong here would be much appreciated...

    Thanks

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ Pages - CSS un li div selected/hover

    I have seen at least one other Template Monster template with this bug. The template is miscoded, and doesn't insert the .selected class the way it should.

    Ask TM to fix this bug in their template.

  3. #3
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: EZ Pages - CSS un li div selected/hover

    Quote Originally Posted by gjh42 View Post
    Ask TM to fix this bug in their template.
    There's a greater chance of the Pope falling pregnant.
    20 years a Zencart User

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ Pages - CSS un li div selected/hover

    Probably so, but it couldn't hurt to bug them... at the least, they deserve the aggravation:) And I don't know who else is going to look at their code to sort it out, unless the OP hires someone...

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: EZ Pages - CSS un li div selected/hover

    On an actually helpful note, your best bet might be to replace the template's menu with a mod that is proven to work correctly. There are several in Free Addons; if you want to use ez-pages, I know that the Ezpages Improved Menus mod has current-page highlighting.

 

 

Similar Threads

  1. Replies: 5
    Last Post: 28 Feb 2014, 12:30 PM
  2. CSS Hover Help Reqd
    By Maccon in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 13 Oct 2008, 04:18 PM
  3. CSS Hover Buttons
    By hlycom99 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Jul 2007, 02:00 AM
  4. CSS Question re: configuring a:hover
    By bgroup99 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 6 Mar 2007, 04:27 AM
  5. CSS Catagories Hover?
    By [email protected] in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 21 Feb 2007, 09:48 PM

Posting Permissions

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