Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore plugin – Customize the product search box CSS
Tagged: customize search, search box color
- This topic has 9 replies, 2 voices, and was last updated 11 years, 4 months ago by admin.
-
AuthorPosts
-
July 25, 2013 at 12:39 am #9384subfightMember
Hi, I have 3 questions…
1. I try to customize the search box that I have when I use this shortcode: [wp_eStore_product_search_with_add_to_cart_button]
Where can I change the background color of the input box (the search field) and the width? I’m unable to find it.
2. When I use the shortcode, [wp_eStore_category_products_fancy id=5 style=3 order=1]
I have the word “price:” written with the amount for each item.
It looks like this: “Price:$9.95” but I just want this: “$9.95”
I can’t find where I can delete that word.
3. How can I disable lightbox when I click the pictures of my items?
Your help should be really appreciated!!
Thanks
July 25, 2013 at 2:12 am #56799subfightMemberFor my first question, you can forget it, I’ll ask to the designer of my new wp theme.
And for my second question I found where to disable lightbox.
So still only my third question about Price:
July 25, 2013 at 6:03 am #56800adminKeymasterHi, I have made a slight change to the extra shortcodes addon which should allow you to hide the “price” label from the fancy product display.
Please delete the currently installed copy of the extra shortcodes addon then download a new copy from here:
https://support.tipsandtricks-hq.com/forums/download-addons.php
Once you install the newly downloaded copy, share a link to the page where you are displaying your products and I will tell you how to hide the price label.
July 25, 2013 at 2:00 pm #56801subfightMemberHi,
Ok it’s done, however as my site is under construction, I must give you a username and password to access my site. Where can I send you that?
Oh and finally, if you should be able to tell me what is the css class name to customize the search box it should be really helpul. thanks!
July 26, 2013 at 12:11 am #56802adminKeymasterActually, I won’t need to… I can just tell you what CSS tweak to apply now. Please add the following CSS in eStore’s custom CSS file to hide the “price” label/text that is shown before a price amount in some product display template:
.eStore_price_label{
display: none;
}The search submit button wrapped inside the “eStore_search_submit” class. So you can target the submit button like the following:
.eStore_search_submit input[type="submit"]{
//your custom css properties goes here
}July 26, 2013 at 12:27 am #56803subfightMemberHi,
Great it works for the label price
About the search box however it doesn’t work. It’s mostly the search field that I really need to customize, not the button…
July 26, 2013 at 7:25 am #56804adminKeymasterI added another CSS class to the product search input field. Please re-download the extra shortcodes addon and then you can target it using the “eStore_product_search_input_field” class.
July 26, 2013 at 4:26 pm #56805subfightMemberWow great, thanks a lot!!!
July 26, 2013 at 6:20 pm #56806subfightMemberOne last question about it: I’d like to have the field and button on the same line. I tried display:inline but it doesn’t work… Any idea?
July 27, 2013 at 12:25 am #56807adminKeymasterTry using “float”.
-
AuthorPosts
- You must be logged in to reply to this topic.