- This topic has 2 replies, 2 voices, and was last updated 12 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 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 › WP eStore General Questions › Estore – How to center php shortcode in widget
I am using the PHP code widget to insert some products in my sidebar. But the products are aligned to the left side of the widget. Is there a way to get the product display to move over to the center of the widget area?
Here is the code I am using:
<?php echo show_wp_eStore_product_fancy(57,2,3); ?>
Here is my website link so you can see what I mean: http://sherigraham.com/
Thanks,
Sheri
Hi Sheri,
Put this code in your “wp_eStore_custom_style.css” file and it should center those products:
.eStore-fancy3 {
margin-left: auto;
margin-right: auto;
float: none;
}
Thank you so much! That worked perfectly!