Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Change colour of login text

    Hi there,
    How do I change the text to red just for the login text on the main page?

    Would you like to log yourself in?


    Currently its black and I've underlined it but would prefer to have the colour stand out.

    Cheers,

    Maxy
    Mitch B
    www.lovetovape.com.au
    love the Zen-Cart forums!!!

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: Change colour of login text

    All these element styles are controlled in the stylesheets (CSS FILES).

    If you install and use FIREFOX BROWSER, there are some neat FIREFOX TOOLS you can plug-in to the browser, such as FIREBUG and CHRIS PEDERICK'S WEBMASTER TOOLS.

    Then, you use the tools to help you identify the CLASS or ID of each element DIV, and you can the do off-line edits to your CSS to see what things would look like if that edit was committed to the live stylesheet.

    Get Firefox and its webmaster tools and spend some time learning how to use them.

    (You will need a basic knowledge of CSS and HTML - there are tutorials at W3schools.com
    20 years a Zencart User

  3. #3
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Change colour of login text

    Use the stylesheet to style the
    h2 .greeting and h1 #indexDefaultHeading
    if not in the stylesheet add it there

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: Change colour of login text

    Quote Originally Posted by keneso View Post
    Use the stylesheet to style the
    h2 .greeting and h1 #indexDefaultHeading
    if not in the stylesheet add it there
    The text being referred to is a hyperlink... the above won't influence it.

    I disable the greeting so don't know its specific ID / Class... but get the tools I suggest and you'll see it for yourself.
    20 years a Zencart User

  5. #5
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: Change colour of login text

    I tried to change it but all of the hyperlinks changed to Red so I just left it.

    Cheers,

    Maxy
    Mitch B
    www.lovetovape.com.au
    love the Zen-Cart forums!!!

  6. #6
    Join Date
    Jul 2009
    Location
    picaflor-azul.com
    Posts
    6,928
    Plugin Contributions
    45

    Default Re: Change colour of login text

    Add this to the bottom of your stylesheet.css:

    Code:
    .greeting a{color:#the hexidecimal number for the color you want;}
    Thanks,

    Anne

  7. #7
    Join Date
    Dec 2010
    Posts
    248
    Plugin Contributions
    0

    Default Re: Change colour of login text

    That's fantastic Anne!!
    Thank you so much.

    Cheers,

    Maxy
    Mitch B
    www.lovetovape.com.au
    love the Zen-Cart forums!!!

 

 

Similar Threads

  1. Text colour on login /register page
    By mrkay in forum General Questions
    Replies: 7
    Last Post: 8 Apr 2011, 02:22 PM
  2. Change size and colour of text
    By amyleew in forum General Questions
    Replies: 3
    Last Post: 25 May 2010, 12:13 AM
  3. Customer login text colour change
    By Derek Bryant in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 23 Mar 2010, 08:59 AM
  4. Change text colour in Scrolling Bestsellers
    By DaveG in forum Addon Sideboxes
    Replies: 8
    Last Post: 14 Mar 2008, 12:51 AM
  5. Change text colour invoice
    By Carl in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Dec 2006, 12:07 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