MyBB Community Forums

Full Version: Footer jscript adverts / responsive
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys

I want to place some eBay / Amazon adverts into my footer. They come in script code.

I want three in a row. If I place the codes next to each other, they stack up vertically. I want them in a row.

I have tried various methods to place the code, including tables but nothing works with my Vienna responsive theme.

Any thoughts on how I can place these three script code adverts, in a row but something that will work in a responsive way.

Thanks for all your help.

Phil

vwcamper.net
Add to your CSS:

.test{
float:left;
width:33.3%;
text-align: center;
}

then place in your footer:

<div class="test">Test</div>
<div class="test">Test</div>
<div class="test">Test</div>
Doesn't work. Think its the float element.

It goes over the footer and then pushes the footer over :

[attachment=35586]
It does work. No one knows the contents of what you are trying to put in the divs, so can't say why it is not working for you. You obviously have to adjust the CSS as required.
Apologies Ash. Certainly wasn't criticising your code and i cannot thank you enough for your very kind help.

The code is <script> for eBay and Amazon adverts.

Like this:

<SCRIPT charset="utf-8" type="text/javascript" src="http://ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822%2FGB%2Fvwcafo-21%2F8001%2Fd46d8a5c-a2e5-426d-8b28-944c26f00360"> </SCRIPT> <NOSCRIPT><A rel="nofollow" HREF="http://ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822%2FGB%2Fvwcafo-21%2F8001%2Fd46d8a5c-a2e5-426d-8b28-944c26f00360&Operation=NoScript">Amazon.co.uk Widgets</A></NOSCRIPT>
No problem. The script obviously affects the layout. Don't really understand what it's meant to do, sorry. Perhaps you can request some help from where it came. The simple code I gave does work, you can check it's responsiveness on mobile devices here:

http://mobiletest.me/
As stated, its an Amazon affiliate advert but eBay Partner adverts do the same.
(2015-11-26, 08:45 PM)ChilledStorm Wrote: [ -> ]Apologies Ash. Certainly wasn't criticising your code and i cannot thank you enough for your very kind help.

The code is <script> for eBay and Amazon adverts.

Like this:

<SCRIPT charset="utf-8" type="text/javascript" src="http://ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822%2FGB%2Fvwcafo-21%2F8001%2Fd46d8a5c-a2e5-426d-8b28-944c26f00360"> </SCRIPT> <NOSCRIPT><A rel="nofollow" HREF="http://ws-eu.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&MarketPlace=GB&ID=V20070822%2FGB%2Fvwcafo-21%2F8001%2Fd46d8a5c-a2e5-426d-8b28-944c26f00360&Operation=NoScript">Amazon.co.uk Widgets</A></NOSCRIPT>

There's no need to use capitalization since HTML is case-insensitive(not talking about values).
Tell Amazon that. Code is from them.