Reduce distance between advert and Inset

  • Antiquar
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 8 months ago #28199 by Antiquar
Hi Forum, pls have a look at www.fleifood.de . How can I reduce the distance a litte between advert1 / advert2 etc to the follwing items (Search / Inset / Search)? Thks Helmer aka Solo Antiquar

Please Log in to join the conversation.

More
11 years 8 months ago #28212 by ivan.milic
Forum speaking:

In index.php of template you have this code:
Code:
// advert1-4 modules width if($uppermodules) { $advert_width = 0; $advert_width = ($templateWidth - (($uppermodules) * 40)) / $uppermodules - 60 / $uppermodules;// 12px (margin-right); 2*4px (padding left/right) $advert_width = floor($advert_width); }

it's for advert modules width. Then in layout.css add:

.upper .module_padding {
padding: 0;
margin: 0 XXpx!important;
float: left;
}

where XX should be half of value you put instead 40 in above code.

For distance above search module in layout.css:

.main_area {
padding: 30px 0 0 0;
line-height: 22px;
}

cange padding to : padding: 0px 0 0 0;

Please Log in to join the conversation.

Time to create page: 0.164 seconds
Powered by Kunena Forum