Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bold and Normal fonts on buttons - How can I make them the same?


bibleman

Recommended Posts

HI,

 

On this page: http://www.ministryhelps.com/choosing-wisely-in-life-buddy-harrison-p-680.html

 

You see THREE buttons at the top of the page: "Reviews" "Add to Wish List" and "Add To Cart" 

 

If you notice the one of them "Reviews" is NORMAL font and two of them "Add to Wish List" and "Add To Cart"are BOLD font.

 

My question is HOW do I make them all BOLD font?

 

thanks

Leon

I'm having a great Day - hope you are too!

 

Leon

Link to comment
Share on other sites

The code that adds that button will have a css class in it - looks like its ui-button-text. In your user.css file add this:

.ui-button-text {font-weight:bold}

The above assumes a few things and I haven't tried it. If it doesn't work, you will need to verify that class is correct.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Somewhere in the code that generates the buttons you have ui-priority-secondary in the reviews button and ui-priority-primary in the wishlist button and the add to cart buttons. You will probable need to find the code and change it to which ever one you want.

REMEMBER BACKUP, BACKUP AND BACKUP

Link to comment
Share on other sites

Somewhere in the code that generates the buttons you have ui-priority-secondary in the reviews button and ui-priority-primary in the wishlist button and the add to cart buttons. You will probable need to find the code and change it to which ever one you want.

Hi @@14steve14

 

That did it:

 

The code for the review button which was not bold was:

 

<?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params())); ?>

 
I changed it to this adding the primary:
 
<?php echo tep_draw_button(IMAGE_BUTTON_REVIEWS, 'primary' . (($reviews['count'] > 0) ? ' (' . $reviews['count'] . ')' : ''), 'comment', tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params())); ?>
 
Works just great 
 
Thanks for your help!
 
Leon

I'm having a great Day - hope you are too!

 

Leon

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...