Welcome to TalkGraphics.com
Results 1 to 4 of 4

Thread: Link Style

  1. #1
    Join Date
    Jul 2014
    Posts
    5

    Default Link Style

    Hi all

    I have recently updated to Xara Web Designer Premium. I've gone round in circles trying to change a CSS style .
    On the main pages I have set my styles as I wish. At the foot of the page is a dark graphic. On this I want my text to be white, and the links to be underlined and red when hover.
    I can not seem to get to create a style where the link hover is red, it's always using the colours set in the Web Properties > Website > Website text Links.
    How do I set up my own style for hover links?

    Thanks

    Brian

  2. #2
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    19,411

    Default Re: Link Style

    Hello ukel, hopefully Acorn will chip in soon as he's into css. Meanwhile you may like to look at this:

    LINK
    Egg

    Intel i7 - 4790K Quad Core + 16GB Ram + 232 GB SSD + 250 GB SSD portable drive
    Xara Designer Pro X 16

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    10,716

    Info Re: Link Style

    Cheers Egg!

    This is the most versatile I can get for you.

    In Xara, create your text with a white text colour, add its link and place over your black background. You can mix and match these colours.

    Add a Placeholder object with the following HTML Code (body):
    <style>

    a:link {
    color: White;
    text-decoration: none;
    border-bottom: 1px solid;
    border-bottom-color: LightYellow;
    }
    a:visited {
    color: Bisque;
    border-bottom-color: Khaki;
    }
    a:hover {
    border-bottom-color: Red;
    }
    </style>
    This way all prior links are as defined in Xara and only those on following the Placeholder box are affected.
    You can change any of the named colours to http://www.w3schools.com/cssref/css_colors.asp or use a hex sextet: #123456.

    The Placholder must appear lower than the text in the Page and layer gallery; I would hide it behind the black box and soft-group it.

    Acorn
    Acorn - My currently active Xara software: XDPX (current, v15, v12 & 11 (64-bit)), unserviced XWD Premium 15 & 12, XPGD10, X3D7; lots of licences back through time (to CC's Artworks). If your Post identifies a Xara software fault, please raise it directly with Magix --> support2.magix.com.

  4. #4
    Join Date
    Jan 2020
    Posts
    1

    Default Re: Link Style

    Check this one for more...color codes

 

 

Tags for this Thread

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
  •