Welcome to TalkGraphics.com
Results 1 to 10 of 13

Hybrid View

  1. #1
    Join Date
    Aug 2015
    Location
    London
    Posts
    14

    Default DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Hi

    I am using Xara Designer Pro X17. I have built a Navigation Bar for a web page which displays a different color on hover. What I am trying to achieve is for the active button to display a different colour to the hover colour. For instance, the main colour on the Nav Bar is Blue which changes to a lighter blue on hover. But what I would like is for the active button to display black background with white text.

    Can this be done with custom CSS. And if so, can anyone tell me how to do it?

    Many thanks for your help.

    Christian

  2. #2
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,835

    Default Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Just create a button with no link in your colours and overlay it on the active button.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  3. #3
    Join Date
    Aug 2015
    Location
    London
    Posts
    14

    Default Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Hi

    Many thanks for your speedy reply but I'm not sure that I understand what you mean.

    Do I have to create an overlay button for each button on the nav bar?

    Sorry if I appear a bit thick but I've always used Wordpress with Elementor page builder before and for which there is a setting for the active button display colour.

    Regards

    Christian

  4. #4
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,508

    Default Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Acorn - Can you create a simple Xara document with this effect?

    Something not right happening on your home page.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Screenshot_2020-04-16 Cathay Studios – Low cost websites that don't look cheap.jpg 
Views:	72 
Size:	68.5 KB 
ID:	126811  

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,835

    Info Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Christain, yes it is an overlay approach - quick and dirty, but simple.
    Clone your NavBar and open for edit.
    Delete the MouseOver parts and unlink it all.
    Resize each button to cover its parent.
    Place each over their parent on the parent page.

    Xara - Buttons on a NavBar.xar

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  6. #6
    Join Date
    Aug 2015
    Location
    London
    Posts
    14

    Default Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Many thanks for your help. It is much appreciated.

    Xara Designer Pro is a fantastic piece of software but I think the web designer is badly let down by the navigation bar element. I think it needs a makeover urgently.

 

 

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
  •