View Full Version : How do i align the ratings block to the right with wordpwrap ?
I seem to be able to manage this with other images/output/plugin info but I can't seem to do this for the rating block.
Sorry if it's a newbie question but changing the location and look and feel of results block doesn't seem straightforward - or am I missing something ?
G.
nickmattern
11-16-2009, 06:11 AM
I seem to be able to manage this with other images/output/plugin info but I can't seem to do this for the rating block.
Sorry if it's a newbie question but changing the location and look and feel of results block doesn't seem straightforward - or am I missing something ?
G.
You can change the position of the rating block by unchecking the 'auto embed' feature in WFR options, then looking at the 'manually insert' sticky in the tech support forum.
Hi,
I've tried that - It still inserts in on the left hand side of the page by default.
Can point me to an example of how the block can be custom placed, as I can find nothing on this site I'm afraid ?
nickmattern
11-16-2009, 07:26 AM
http://www.reviewpluginforwordpress.com/support/showthread.php?t=14
Great,
So how exactly does -
<?php if(class_exists('WFReview')) WFReview::get_post_ratings(); ?>
define a specific position on a page ???
My limited understanding tells me this is a PHP function - so what CSS code needs to placed around what function output references to place it somewhere else ?
fbeach73
11-16-2009, 09:04 PM
yea this is something im looking to accomplish too.. looks far better when its got txt wrapped around it.. price etc
I am using thesis, so this is a hook powered theme, I am getting a good grip on that part, but am unsure how to call the php which displays ratings and have it align right, with txt wrap.. a link to a solid readme would be good
fbeach73
11-16-2009, 09:32 PM
Theres prolly more ways to do this but i accomplished this by:
editing wfreview/wfreview.css inside PLUGIN EDITOR
the very top element..
.post_rating
{
float: right;
border: 1px solid White;
border-collapse: collapse;
background-color: White;
font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
margin: 5px 0px;
}
the top float command seemed to do what I was trying...hope that helps
fbeach73
11-16-2009, 09:44 PM
check the thread at
http://www.reviewpluginforwordpress.com/support/showthread.php?p=1751#post1751
hope that helps
Yep, that works.
I use Thesis too - great theme !
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.