price and buy button color
-
hi,
how/where can i change the pink default color of the price information and the “add to cart” button? i cannot seem to locate the information in the style.css file and don’t know where else to look.
thanks!
-
Hello.
File in plugin folder templates/standard/style.css around line 198:[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
.pink_btn, .toeWidget input[type="submit"] { background: url("img/pink-btn-bg.png") repeat-x scroll 0 0 transparent !important; border: 1px solid #FC7575 !important; border-radius: 2px 2px 2px 2px; color: #FFFFFF !important; cursor: pointer; display: block; font-size: 14px; font-weight: normal !important; height: 24px; line-height: 22px !important; margin: 0; padding: 0 10px; text-shadow: 0 1px 0 #CE6F6F !important; }
Actualy, there are not color, but image on background, url(“img/pink-btn-bg.png”), you should change this.
Regards,
Alexey.thanks so much!
No problems!
Regards,
Alexey.hi alexey,
one more question if possible.
can you tell me how to opt out from having the following appear on category pages? it is a small inventory for now and looks odd to have these sorting options with only 3 items on a page. π i have searched the code but cannot figure it out myself.Per page: 20 50 100 all
Order By: Price β β Date β βthank you again!
kateHello.
Do you mean All Products page?Regards,
Alexey.it may be on the All Products page too, but i do not have one of those active right now. it shows on each of my Category pages.
for example: http://nikstone.com/store/rings/
thanks
kateIt should be in your tenplate listing file, like archive.php.
Regards,
Alexey.i have looked everywhere i can think of and attempted many changes, but no luck. do you have any other guidance? i will include the page source code excerpt. thank you, once again.
<div class="post-entry"> <div class="toeCategoryShortcodeWrapper"><div class="archive tax-products_categories"> <div> Per page: <a href="/store/rings/?posts_per_page=20"> 20 </a> <a href="/store/rings/?posts_per_page=50"> 50 </a> <a href="/store/rings/?posts_per_page=100"> 100 </a> <a href="/store/rings/?posts_per_page=all"> all </a> </div> <div> Order By: <a href="/store/rings/?orderby=price&order=DESC">Price</a> <a href="/store/rings/?orderby=price&order=ASC">β</a> <a href="/store/rings/?orderby=price&order=DESC">β</a> <a href="/store/rings/?orderby=date&order=DESC">Date</a> <a href="/store/rings/?orderby=date&order=ASC">β</a> <a href="/store/rings/?orderby=date&order=DESC">β</a> </div> <div class="product">
Oh, so this is category shortcode? In plugin folder go to modules/products/views/tpl/allProductsListHtml.php and comment (or delete) lines:
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. ]
<?php if(class_exists('frame') && frame::_()->getModule('pagination')) { frame::_()->getModule('pagination')->getView()->display(array('nav_id' => 'pagination', 'show' => array('navigation', 'perPage', 'ordering'))); }?> and <?php if(class_exists('frame') && frame::_()->getModule('pagination')) { frame::_()->getModule('pagination')->getView()->display(array('nav_id' => 'pagination', 'show' => array('navigation', 'perPage', 'ordering'))); }?>
Regards,
Alexey.yay! that was it! you are the best, thank you!
No problems)
Regards,
Alexey.Don’t forget to rate us on wordpress site.
Regards,
Alexey.will do!
Hi there ukrianecmk, I am having the same issue as keterene(with some slight differences). I am trying to create a site for a friend using a custom made template(not one of the many to choose from wordpress) and am tryign to change the color of the “Add to cart” button, as well as the text for the “order by/price by” text. But, the two files you mention in above posts are not in my back-end. Is there another area I should look in ?
Also, is there a way I can use one of the Ready widgets on just one page, I have been trying to figure this out, but when trying to use a widget on just the Home page it ends up appearing on every page(even after I tell the widget to just appear on the Home page).
- The topic ‘price and buy button color’ is closed to new replies.