Join Free
+ Reply to Thread
Results 1 to 2 of 2

Thread: Sidebar Widget

  1. #1

    Question Sidebar Widget

    I need to correct the CSS for the sidebar widget. My theme uses a wider sidebar and everything comes up off center. This thing should just be automagical and happen no matter the width of the sidebar.

    Solution?

    http://thecouponmafia.com to see it since for some reason I can't upload an image here.
    Attached Images

  2. #2
    You could use something generic like <div align="center"> at the start of widget before the Prosperent code itself is called.

    Or make a css class that auto-centers the widget, before the Prosperent code is called.

    .centerwidget {
    margin-left: auto;
    margin-left: auto;
    }

    or something like this

    .centerwidget {
    margin: 0 auto;
    }

    Then call it like this:

    <div class="centerwidget">
    -Prosperpent widget code-
    </div>

    See if that helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
coupons | coupons and deals