Margins and Paddings

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Wed Jul 02, 2014 9:45 am
Reply with quote
Report this post
Hi,

I am using position Top1 and Top2 for advertising. My problem is the margins/paddings.

If I use the suffix "Clear" it stretch my image, which I don't want. On the other hand, "Clear" also reduces the margins/paddings which I would like. So, how do I do this?

I use Top1 and Top2 for other things on some sub pages, so I really don't want a permanent code change of margins/paddings, as that will just give me problems later.

Is there not a suffix that can do what I want? Should I create one myself?
What is the best way to handle this?

My url is: eyereports.com

The ad I am talking about is the orange one.

Regards
User avatar
Senior Boarder

teitbite
Wed Jul 02, 2014 9:57 am
Reply with quote
Report this post
Hi

I think best way will be to specify the max width for such modules. You just need to add this to override.css and make sure override is enabled in template settings:

Code: Select all
#gkTop1 .clear img,
#gkTop2 .clear img {
    max-width: 344px !important;
}
User avatar
Moderator

GK User
Wed Jul 02, 2014 10:52 am
Reply with quote
Report this post
Sweet, nice solution. Works perfect!

Cheers,
User avatar
Senior Boarder


cron