Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Themeroller with V2.3.2 buttons not consistent


clint6998

Recommended Posts

It has been a long while since I have been here, before jQuery themes were really used. Here is my situation; I just created a new theme using the jQuery UI themeroller and all looks good except that some of my buttons are not consistent. See attached images for a visual to what I am talking about and what I set the themeroller to.

 

post-297063-0-16293500-1345041299_thumb.png

post-297063-0-03647000-1345041301_thumb.png

 

On another note, if I wanted to replace the gratients with a background image for the buttons and title bars, how would I do that?

 

Any help would be great. If I need to post more for you to see, let me know and I will do so quickly.

 

Thanks!

 

Clint

Link to comment
Share on other sites

The difference in buttons is the difference between primary and secondary buttons. You want some buttons to stand out more (such as the Add to Cart button) so those have the colors selected in the theme. The secondary buttons are faded.

 

The jQuery buttons are not designed to use a user-supplied image, so that would be difficult. The images are in the images folder in your theme if you want to try.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

The easiest way is to modify the button code. In catalog/includes/functions/html_output.php, find this code:

 

////
// Output a jQuery UI Button
 function tep_draw_button($title = null, $icon = null, $link = null, $priority = null, $params = null) {
   static $button_counter = 1;

 

And add just after that:

 

    $priority = 'primary';

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...