Announcement

Collapse
No announcement yet.

MouseOver colour change

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    MouseOver colour change

    Hi all,

    The solution to this is probably staring me in the face, but it's been a long day!

    I am using layout 6, and I would like the hover mouseOver to change the colour of the text on the navigation and the section lists like the main content.

    At present it puts the coloured line under the text.

    Can anyone help?

    Christine

    #2
    Have you seen these threads ?

    http://community.actinic.com/showthread.php?t=21686

    http://community.actinic.com/showthread.php?t=21791


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Hi Jont,

      I had seen one and have been going through the other this morning and I still can't get it to work...

      Without doing anything to it my nav and section lists are:

      .actsmallheading{font-size:10px;color:#330066;font-family: CUSTOMVAR:ACTCSSFONTFAMILY;text-transform: uppercase;}

      where the html code looks like this in the Act_NavigationItem:

      NETQUOTEVAR:TEMPLATEBEGINXML
      <A HREF="NETQUOTEVAR:NAVLINK" TARGET="NETQUOTEVAR:NAVTARGET" NETQUOTEVAR:MOUSEOVERCALL>
      <span class="actsmallheading"><b>NETQUOTEVAR:NAVTEXT</b></span></A>&nbsp;<span class="actxxsmall">|</span>
      NETQUOTEVAR:TEMPLATEENDXML

      Now this works fine, accept I need the hover to turn the text #CC0000
      This morning I got the hover to work - Uppercase, in red, no underline...

      But without the hover the text went back to the body links format which is larger, green and lowercase.

      I would be very grateful if you give me any help.

      Christine

      Comment


        #4
        Actinic is a nightmare due to very deep and nested templates and its inbuilt core codes.

        The best way I found to resolve the navigation CSS is to wrap FOOTERGUIDE <div id="navLinks"> in the Act_Primary and setting the #navLinks in the actinic.css accordingly ... the "id" creates a higher specificity and overrules any nesting of code changes.

        <span> tagging under Actinic in general can be fraught .. I tend to use ID's or .classes if repeating on the page.
        Edit/Delete Message


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          I'm going slightly MAD - Oh yes!

          Hello Jont et all,

          OK [ breathe ]

          I've tried the <div id> many times now and failed miserably - I just DO NOT KNOW WHAT I'M DOING WRONG???

          All I need to do is change the mouseOver so the Nav text goes pink!

          What I'm getting now is that my links are now vertical like so

          HOME |
          SITEMAP |
          TERMS & CONDS |
          SEARCH |
          VIEW BASKET |
          CHECKOUT |
          CONTACT US |

          Where they should be:
          HOME | SITEMAP | TERM & CONDS | ETC

          The original unwanted pink underlining has gone but the text still does not change colour???

          Can someone help...please - Am I placing the tags in the wrong place?

          My code looks like this for the Act_NavigationItem:

          <!-- NavigationItem HTML begin -->
          <!-- This file is used to build the navigation item markup. -->
          <div id="pinknav">NETQUOTEVAR:TEMPLATEBEGINXML
          <A HREF="NETQUOTEVAR:NAVLINK" TARGET="NETQUOTEVAR:NAVTARGET" NETQUOTEVAR:MOUSEOVERCALL><span class="actsmallheading"><b>NETQUOTEVAR:NAVTEXT</b></span></A>&nbsp;<span class="actxxsmall">|</span>
          NETQUOTEVAR:TEMPLATEENDXML </div>
          <!--not used NETQUOTEVAR:NAVIMAGE-->
          <!-- This file is used to build the navigation item markup. -->
          <!-- NavigationItem HTML end -->

          My css looks like this - placed after the a:hover part (does it matter where it's placed inside the CSS??

          #pinknav a {
          font-size:xx-small;
          color: #330066;
          text-transform:uppercase;
          text-decoration: none;
          font-weight:bold;
          }

          #pinknav a :hover {
          font-size:xx-small;
          color: #c525fa;
          text-transform:uppercase;
          text-decoration: none;
          font-weight:bold;
          }

          I'm off to make a Cup 'o' Tea to soothe me head!
          From Carfuffled Christine

          Comment


            #6
            Hi, several things spring out.

            Firstly the <div id> should be wrapping the FOOTERGUIDE (in the Act_Primary.html) .. this will then place the 1 instance of a named ID on the page (there can be only one)

            You can also strip out all the superfluous fluff from the ActNavigation eg:

            <!-- NavigationItem HTML begin -->
            <!-- This file is used to build the navigation item markup. -->
            NETQUOTEVAR:TEMPLATEBEGINXML
            <a href="NETQUOTEVAR:NAVLINK" target="NETQUOTEVAR:NAVTARGET" NETQUOTEVAR:MOUSEOVERCALL>NETQUOTEVAR:NAVTEXT</a>&nbsp;|
            NETQUOTEVAR:TEMPLATEENDXML
            <!--not used NETQUOTEVAR:NAVIMAGE-->
            <!-- This file is used to build the navigation item markup. -->
            <!-- NavigationItem HTML end -->

            You are also wise to declare the font-family in the CSS followed by the size to ensure cross-browser compatibility


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              Hi Jont aka knight in shining armour!
              Worked like a charm!
              And I realised why it was not turning pink was due to a space between my a :hover!
              Thankyou very much for all your help!
              Christine

              Comment

              Working...
              X