Welcome to TalkGraphics.com
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  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,813

    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,501

    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,813

    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.

  7. #7
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Quote Originally Posted by csteienr View Post
    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.
    Which is why I stopped using them way back. I use CSS.

    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

  8. #8
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,501

    Default Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Also, you can create a new layer, name it MouseDown and make sure this layer is on top of the MouseOff and MouseOver layers.

    Create a third button state. This will be the button that shows on the current page.

    This only works however with first level pages and not with sub menu options. Someday, perhaps long after I have left this earth, Xara may address this. But I am not holding my breath.
    Attached Files Attached Files

  9. #9
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,813

    Default Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    Quote Originally Posted by gwpriester View Post
    Also, you can create a new layer, name it MouseDown and make sure this layer is on top of the MouseOff and MouseOver layers.
    Create a third button state. This will be the button that shows on the current page.
    This only works however with first level pages and not with sub menu options. Someday, perhaps long after I have left this earth, Xara may address this. But I am not holding my breath.
    Gary, i have always assumed that the MouseDown state is what you get when you click on or hold a button.The Xara Help isn't.

    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

  10. #10
    Join Date
    Aug 2000
    Location
    Placitas, New Mexico, USA
    Posts
    41,501

    Default Re: DISPLAY DIFFERENT COLOUR ON ACTIVE NAV BAR BUTTON

    True. But is also becomes the active page button. Though as I pointed out, only on first level pages.

 

 

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
  •