Ads alignment

Posted in: Newspaper
Post count: 40

Hi,
I want to show (on Desktop) the first article ad on left (instead of center) without text on right.

http://oi63.tinypic.com/oaovpk.jpg

How can I do that?

Regards

Post count: 22421

Hello,

You can do it with this code:
.td-g-rec-id-content_top{
float:left!important;
padding-right:10px;
}

Add the code in the theme panel->custom css box

Thank you!

Post count: 22421

Hello,

You can do it with this code:
.td-g-rec-id-content_top{
float:left!important;
padding-right:10px;
}

Add the code in the theme panel->custom css box

Thank you!

Post count: 40

Hi, I’ve specificed in my question: ads on left without text on right
like I posted on my screenshot.

I’ve done it:

.td-g-rec-id-content_top{
width:336px;
}

I get result: is it good?

Regards

  • This reply was modified 9 years by jad.
Post count: 22421

Hi,

Unfortunately specifying a fixed width will break responsiveness. You have to adjust it for each screen size break-point for it to display properly. You can use the advanced css for easy access to responsive css: http://screencast.com/t/UX5WFFPQQBx

Thank you!

Post count: 40

So,
will I add this code

.td-g-rec-id-content_top{
width:336px;
}

only on DESKTOP CSS?

Or write me your solution to get ads on left without text on right.

Regards

Regards

Post count: 22421

Well you can add your code in the desktop section only so you do not affect other screen sizes.
As an alternative you can use ‘clear’: http://www.w3schools.com/cssref/pr_class_clear.asp
Thanks.

Viewing 7 posts - 1 through 7 (of 7 total)
The forum ‘Newspaper’ is closed to new topics and replies.