clint6998 Posted August 15, 2012 Share Posted August 15, 2012 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. 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 Quote Link to comment Share on other sites More sharing options...
♥kymation Posted August 15, 2012 Share Posted August 15, 2012 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 Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
clint6998 Posted August 15, 2012 Author Share Posted August 15, 2012 Thanks for your response. If I want my primary and secondary buttons the same color, how do I change that? I cant have the buttons looking pink. In the theme roller, it does not look like that. Thanks, Clint Quote Link to comment Share on other sites More sharing options...
♥kymation Posted August 15, 2012 Share Posted August 15, 2012 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 Quote See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
clint6998 Posted August 15, 2012 Author Share Posted August 15, 2012 That worked great. thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.