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
    21,910

    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 + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,810

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

  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
  •