osCmax v2.5 User Manual
Results 1 to 5 of 5

Change address form text colour

This is a discussion on Change address form text colour within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I think this will be a quick answer, although after searching I have not been able to find it. I ...

      
  1. #1
    New Member
    Join Date
    Dec 2010
    Posts
    13
    Rep Power
    0


    Default Change address form text colour

    I think this will be a quick answer, although after searching I have not been able to find it. I need to change the text colour on the "change address" form accessed from the change address button on the checkout page.

    I need to be able to modify the colour of this text, without affecting any of the other text on the site. I imagine it is going to be in the css file, although would I have to define a new class for this item and then go ahead and modify the tpl file to look at that class for that particular form. Does that all make sense?

    Thanks heaps

    Richard

  2. #2
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Change address form text colour

    I need to be able to modify the colour of this text, without affecting any of the other text on the site. I imagine it is going to be in the css file, although would I have to define a new class for this item and then go ahead and modify the tpl file to look at that class for that particular form. Does that all make sense?
    Yes! Use Firefox with Firebug installed to easily find the style you need to duplicate and edit.

    Regards,
    pgmarshall
    _______________________________

  3. #3
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: Change address form text colour

    are you looking to change all the text, or just some of it?

    If just some,and just in that form, then you can play with the tpl file adding in just the CSS in a <style> within the tpl, and then apply that class to the fields that you want.

    While this can "break" with the idea that code, js, css are all separate, adding more to the general css that gets pulled in all the time, when you are placing the style on only one page is a bit of overkill on bandwidth (especially if you are doing it a great deal).
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Change address form text colour

    Quote Originally Posted by met00 View Post
    While this can "break" with the idea that code, js, css are all separate, adding more to the general css that gets pulled in all the time, when you are placing the style on only one page is a bit of overkill on bandwidth (especially if you are doing it a great deal).
    Which is why we can do per-page stylesheets in osCmax. Keeps the css separate from code, but only loads it on the page it is needed, instead of lumping everything into one giant stylesheet:
    BTS Template Tutorial, Examples, converting osC template to BTS
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Dec 2010
    Posts
    13
    Rep Power
    0


    Default Re: Change address form text colour

    Thanks guys for all of the ideas. I did do it in the stylesheet, was just a matter of finding the style that needed changing.

    Cheers

    Richard

Similar Threads

  1. Change order of address fields in account creation form
    By johnaney in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 08-17-2010, 12:51 AM
  2. how do i change the colour of the HEADING_TITLE
    By alexkd in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-09-2007, 02:05 PM
  3. Change text colour for hyperlinks in boxes
    By ChocolateTeapot in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 04-25-2005, 11:05 AM
  4. how do I change the colour of the box border?
    By jloyzaga in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 10-23-2003, 01:13 PM
  5. change breadcrumb trail text colour
    By Korsh in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 09-17-2003, 09:53 PM

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
  •