Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Estore – How to center php shortcode in widget

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Estore – How to center php shortcode in widget

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 6 months ago by Sherig.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 29, 2012 at 12:37 pm #7775
    Sherig
    Member

    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

    October 29, 2012 at 10:16 pm #50855
    Peter
    Member

    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;
    }

    October 30, 2012 at 12:09 am #50856
    Sherig
    Member

    Thank you so much! That worked perfectly!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ