Hi i would like to know how to get the enhanced widget to float to the left of the text in a post thanks
http://wordpress.org/extend/plugins/wordpress-amazon-associate/
Hi i would like to know how to get the enhanced widget to float to the left of the text in a post thanks
http://wordpress.org/extend/plugins/wordpress-amazon-associate/
Hi, Currently there is no easy way to float the enhanced ads. When I added the container and container_class property to the link and image Shortcodes I should have added it to the enhanced ads as well.
I'll add this change into the 1.6.0 release that I hope to have wrapped up this coming week if all goes well.
> Matthew
of course you could always wrap the enhanced ad in a floating div that would have the desired result:
<div style="float:left;">[amazon_enhanced .../]</div>
Hi:
Version 1.6.0 is now released that adds the attributes container and container_class to the amazon_enhanced Shortcode which can be used to float the enhanced ad.
Hi - thanks for that, this is exactly what I was trying to do.
Forgive the noob question, but how do I use the container_class and class parameters to float the link to the left inlign with the text?
An example would be hugely appreciated!
Thanks!
[amazon_enhanced asin="B0032Z751C" ... container="div" /]
Will output the enhanced ad wrapped in div tags
<div>...</div>
The container_class adds a css class to the container element for styling purposes
[amazon_enhanced asin="B0032Z751C" container="div" container_class="float-left" /]
This will modify the output to:
<div class="float-left" >...</div>
Of course for this to work you need to have the css class "float-left defined in your websites css.
> Matthew
This topic has been closed to new replies.