Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Location
    Trowbridge, Wiltshire
    Posts
    121
    Plugin Contributions
    0

    Default Changing Link Colours

    Hi there,
    I have made some changes to my store which required me to change the main a:link colours to white. This has had a knock on effect that the Welcome Guest message now contains a white link on a white background.

    To get around this I created a new css id for the link colours and tried to apply the style to the "index.php" under languages/custom. Unfortunatley this hasn't worked.

    How do I go about changing these link colours?

    Here is the amended code:
    // Showcase vs Store
    if (STORE_STATUS == '0') {
    define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a id="blacklinks" href="%s">log yourself in</a>?');


    Any help would be appreciated.
    Regards
    Scott

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Changing Link Colours

    default Zencart has a class called greeting. which is not added to CSS.

    since you have modified the code . you could do the following to see if it works


    add this

    #blacklink {
    color:black;
    }

    you could also do the following if you remove ID from <a>

    .greetUser a {
    color:black;
    }

  3. #3
    Join Date
    Mar 2009
    Location
    Trowbridge, Wiltshire
    Posts
    121
    Plugin Contributions
    0

    Default Re: Changing Link Colours

    Hi tony_sar Thanks for your response, I have tried your suggestions but unfortunately they have not worked so I am probably doing something wrong.....

    I added the following to the CSS: #blacklink {
    color:black;
    }

    This gave no joy. I then added the class to the CSS and also removed the id from the index.php page but again no joy.

    Thanks for the suggestions though.

    Cheers
    Scott

  4. #4
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Changing Link Colours

    do you have a link to your site ?
    there might be some changes that we don't know about and looking at pages might give some result .

  5. #5
    Join Date
    Mar 2009
    Location
    Trowbridge, Wiltshire
    Posts
    121
    Plugin Contributions
    0

    Default Re: Changing Link Colours

    No link I am afraid as it is on our test network. I would be more than happy to provide any pages if that would help?

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Changing Link Colours

    since no link and this looks like modified template . then i suggest on installing FIREBUG extension for Firefox browser and using that , try to identify your problem with the link and its color .

    this extension allows you to modify CSS and your page look ( cached version only ) and see the effect of changes , once happy you can just make it available to your CSS files

 

 

Similar Threads

  1. changing colours
    By rabbitnutrition in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 29 Oct 2012, 04:15 PM
  2. changing link colours for specific classes
    By yoyodyne in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 May 2008, 11:59 PM
  3. changing colours
    By aland in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 25 Jan 2008, 09:05 AM
  4. changing colours
    By shaunbarton in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 4 Aug 2007, 04:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg