WordPress.org

Ready to get started?Download WordPress

Forums

Rich Reviews
Shift to the left (2 posts)

  1. gerryoz
    Member
    Posted 11 months ago #

    Hi,
    I was wondering if you could point me in the right direction - I love Rich Review but since latest updates I'm unable to shift the review box to the left even though the widget placings are set to left. Visit http://www.whyweightireland.ie and you'll see what I mean (left hand side of the home page). It defaults to 300px for width so I've had to change it to 150px so it will fit.
    If you could let me know what I have to change to shift everything to the left it would be very much appreciated.

    Thanks
    Gerry

    http://wordpress.org/plugins/rich-reviews/

  2. TrishaM
    Member
    Posted 11 months ago #

    What exactly do you want shifted to the left? Just the labels? Or the whole form?

    If it's just the labels, you'll need to add a new style declaration to your own theme's style.css (safer than modifying the plugin's stylesheet as it will survive updates).....in the plugin's, the style used is this:

    .rr_review_form .form_table .rr_form_row .rr_form_heading{position:relative;text-align:right;padding-right:15px}

    So add that to yours, but change text-align:right; to text-align:left !important;

    If you want the whole form moved to the left, I'm not sure you can do that.....your form, even with the inputs only 150px wide, is still too wide for your sidebar...your labels, even aligned right, still take up all the available space beginning from the left side of your sidebar.

    The easier solution would be to make your sidebar wider, but if that's not possible, and you simply must have the review form in the sidebar, then you could try putting the labels above the inputs instead of to the left (as is the default), but that would mean hacking the plugin code to change the form....it uses a table and the labels are in a cell to the left of the cell that holds the inputs....you'd need to add some rows and move the labels to above the row(s) of inputs.

    I don't advise hacking plugin code unless you really know what you're doing, but if you back it up first and are very careful this might give you what you want...HOWEVER, be advised that if you update the plugin you'll be wiping out your hacks.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.