- This topic has 5 replies, 2 voices, and was last updated 12 years, 6 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Format Shopping Cart Widget
Where do I go (what file) to modify the Shopping Cart widget text? The text is solidly against the left side of the widget (see http://screencast.com/t/THmLRiQ17).
I would like to add some padding here so the text isn’t almost touching the side of the box. What file would I go to in order to modify the formatting of the text. I tried to put spaces in the text field (see http://screencast.com/t/wgoS67NX0) but that didn’t help.
How can I change the formatting of that field?
Thanks!!
BTW – I went into the Eng.php file and changed the spacing for 2 of the texts there (http://screencast.com/t/wgoS67NX0) but it didn’t change anything on the page. How can I format the text to add padding, and, perhaps, to change text color and bold, etc?
Thanks again!!!
Using space won’t work in HTML. You can use the following to add an empty space character:
For example, the following will create 3 spaces before the text:
Your cart is empty
Also, the empty shopping cart content is placed inside the following CSS class so you can customize padding/margin etc. from CSS for that entire empty cart section:
eStore_empty_cart_block
OK.. I’ll give that a try. Thanks!!
OK, I give up. What folder has the CSS info where I can find the eStore_empty_cart_block?
I have gone through every folder in the plugin, and it isn’t there.
This is all I found, and this was in the wp-cart-for-digital-products and can’t be modified here:
function eStore_empty_cart_display()
{
$empty_cart_text = get_option(‘wp_cart_empty_text’);
$products_page = get_option(‘eStore_products_page_url’);
$output .= ‘<div class=”eStore_empty_cart_block”>’;
if (preg_match(“/http/”, $empty_cart_text)) // Use the image as the ‘Empty Cart Display’
So what folder is the div class=”estore_empty_cart_block” in? I am totally stumped!!
Larry
You don’t have to look for that CSS. The class is already there so you just define it how you want it to look like.
Simply add the following code to any of your CSS files as an example (in the theme’s CSS or in the plugin’s CSS file):
.eStore_empty_cart_block{
margin:10px;
paddin:10px;
}