Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change Background Color : Cart Content , Check Out , My Account


Krock

Recommended Posts

I would like to change the background color of the 3 boxes : Cart Content , Check Out , My Account.

 

Understand it can be done in the stylesheet.css ,

 

Have tried changing several , Can someone please tell me whats the filename I have to change the color sheme ? , Searched very long but cant find it .

 

veranderen.jpg

Link to comment
Share on other sites

@ollyscomputers: If you get plain text instead of buttons in an other style, then you did something wrong

 

The style of header buttons comes from the selected ui-theme and is common for all buttons in the store. You can get a new ui theme using themeroller. There are several posts in this forum explaining how to do this, I've also added illustrated instructions to my blog (link at my profile)

 

If you want to do changes manually, the relevant file is catalog/ext/jquery/ui/redmond/jquery-ui-1.8.6.css (+ any images in redmond/images/) but this will also change all other buttons too

 

If you want to change just this buttons, then, when downloading a new ui theme, click on "advanced theme settings" and set into the input field for "css scope": #headerShortcuts, so that the theme will only apply to the header buttons.

 

You could do selective changes also manualy by adding anything you want into file calalog/stylesheet.css adding #headerShortcuts before any ui-xy class you need to alter, here you need of course to find out what classes apply axactly, like eg "ui-state-default" etc. It's easier to create a new theme in my opinion

 

You will need then to add an additional link to the additional u theme in file catalog/includes/template_top.php in the same way it is done for the redmond theme

Link to comment
Share on other sites

@ollyscomputers: If you get plain text instead of buttons in an other style, then you did something wrong

 

....

 

If you want to do changes manually, the relevant file is catalog/ext/jquery/ui/redmond/jquery-ui-1.8.6.css (+ any images in redmond/images/) but this will also change all other buttons too

 

 

Hi thanks for the reply. Yes i spose I did something wrong BUT to be honest I don't find jQuery very easy to use, can't work out which element sorts out the buttons only, and I just can't get it to work!!!

 

As for the info on manually changing - that is spot on - thanks! I am going to manually change the buttons (I want all the buttons to change also) as I can work out whats going on with the site easier!

 

Thanks again for the info.

Link to comment
Share on other sites

There are some classes exclusivelly used for the buttons and some others used in buttons and other elements too, so changes to them would influence those other elements as well. The best is you use firebug to figure out

 

As said, the easiest way is to use themeroller, with our without a css scope

Link to comment
Share on other sites

There are some classes exclusivelly used for the buttons and some others used in buttons and other elements too, so changes to them would influence those other elements as well. The best is you use firebug to figure out

 

As said, the easiest way is to use themeroller, with our without a css scope

 

Terrific, thanks for the speedy response!

 

I'll relook into theme roller again (without the CS Scope??) but would rather manually sort it!

 

Thanks

Link to comment
Share on other sites

In your case without any "scope" , there is no id or class used throughout all buttons

 

You can read here about how to change the theme once created in themeroller, it's very easy to do

 

There is also a themeswitcher addon existing, I don't know if you need that

Link to comment
Share on other sites

In your case without any "scope" , there is no id or class used throughout all buttons

 

You can read here about how to change the theme once created in themeroller, it's very easy to do

 

There is also a themeswitcher addon existing, I don't know if you need that

 

ok ok ... I'll give themeroller one more chance :-) BUT I'm not using theme switcher again as it seems to disable the scroller and banner rotator !?

Link to comment
Share on other sites

ok ok ... I'll give themeroller one more chance :-) BUT I'm not using theme switcher again as it seems to disable the scroller and banner rotator !?

 

multimixer ... what can I say - got theme roller working = terrific = hassle free = looks great!!!

 

One thing though the main shopping cart buttons are a little fadded compared to the other colours! Do they still have their image behind showing through??

Link to comment
Share on other sites

multimixer ... what can I say - got theme roller working = terrific = hassle free = looks great!!!

 

One thing though the main shopping cart buttons are a little fadded compared to the other colours! Do they still have their image behind showing through??

 

Great that you did it.

 

What are the "main shopping cart buttons"? Do they not look like all other buttons?

 

Note that there are 2 types of buttons regarding display, called "primary" and "secondary". Primary buttons are a bit stronger in colors. A url would help in this case to understand what you mean

Link to comment
Share on other sites

Great that you did it.

 

What are the "main shopping cart buttons"? Do they not look like all other buttons?

 

Note that there are 2 types of buttons regarding display, called "primary" and "secondary". Primary buttons are a bit stronger in colors. A url would help in this case to understand what you mean

 

yes thats wright ... all the buttons can be grouped into either bold in colour or light in colour!

 

Could I message a url over as I don't want to publisize the site yet as I havent started the business yet?

Link to comment
Share on other sites

yes thats wright ... all the buttons can be grouped into either bold in colour or light in colour!

 

Could I message a url over as I don't want to publisize the site yet as I havent started the business yet?

Do you worry that customers will start running? lol :) pm or email me the link and tell me where the issue is (email available at my profile)

Link to comment
Share on other sites

Do you worry that customers will start running? lol :) pm or email me the link and tell me where the issue is (email available at my profile)

 

... have you had a look yet?

 

Please could you post the reply on the forum as I am not sure where to collect my pm!

Link to comment
Share on other sites

... have you had a look yet?

 

Please could you post the reply on the forum as I am not sure where to collect my pm!

 

No hurry please :)

 

There is nothing wrong with your buttons, they have just the state "secondary", and they look like all other secondary buttons of yoyr srore (go eg to product info at check/compare button "reviews" with "add to cart")

 

What to do? Make them to be "primary buttons" !

 

How to do?

1) open file catalog/includes/header.php

2) find a button, eg this one

tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) .

3) make it primary by adding the word "primary" to the correct place, like this

tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'primary') .

 

Now check your site. If you like the primary style, do the same for the other buttons too

 

Regarding the "black border" you mention in your pm: Tht's the way you designed your theme in themeroller, go an make an other one with a pink border or anything you like:)

 

PS You "collect" your pm's by clicking on the green number on your image on the top right of each page. If there is a green number == there is a pm. You can also go to "messenger" where all pm's are stored

Link to comment
Share on other sites

No hurry please :)

 

There is nothing wrong with your buttons, they have just the state "secondary", and they look like all other secondary buttons of yoyr srore (go eg to product info at check/compare button "reviews" with "add to cart")

 

What to do? Make them to be "primary buttons" !

 

How to do?

1) open file catalog/includes/header.php

2) find a button, eg this one

tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL')) .

3) make it primary by adding the word "primary" to the correct place, like this

tep_draw_button(HEADER_TITLE_CHECKOUT, 'triangle-1-e', tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'), 'primary') .

 

Now check your site. If you like the primary style, do the same for the other buttons too

 

Regarding the "black border" you mention in your pm: Tht's the way you designed your theme in themeroller, go an make an other one with a pink border or anything you like:)

 

PS You "collect" your pm's by clicking on the green number on your image on the top right of each page. If there is a green number == there is a pm. You can also go to "messenger" where all pm's are stored

 

Well whats taken me weeks with no success is now solved in an afternoon!

 

Can't thank you enough ... hope others find this equally as useful!

 

"Too Infinity & Beyond" to quote Buzz Lightyear :-D

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...