Welcome, Guest
Username: Password: Remember me

TOPIC: Size Between Modules

Size Between Modules 3 years 1 month ago #6142

Hello,
I hope you can help me :)
I am developing a site here: creativedev2.co.za/MotorMerchandise/
I have some modules in position maintop2-1, maintop2-2, maintop2-3, maintop2-4 (the grey blocks).
I need to make the gap between the modules smaller. I've tried with firebug, but I can't seem to find where to make the space smaller. Please let me know :)

Thanks
The administrator has disabled public write access.

Re: Size Between Modules 3 years 1 month ago #6143

No worries - found a work around.
The administrator has disabled public write access.

Re: Size Between Modules 3 years 1 month ago #6149

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 910
  • Thank you received: 568
  • Karma: 25
Hi,

Great to hear that. But there is a thing you should not did on css.
You did add the margin into all image and add that into bootstrap.min.css -> this is not good.
img {
    border: 0 none;
    height: auto;
    margin-top: -46px; [b]=> This make all image scrolled up???[/b]
    max-width: 100%;
    vertical-align: middle;
}

Suggestion:
+ Use firebug to inspect the elements, find the right value or place to custom the css.
+ You should add your custom css code at bottom of /templates/ot_smarthouse/css/template.css or your added css file.

Thanks
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
Last Edit: 3 years 1 month ago by linh_omg.
The administrator has disabled public write access.

Re: Size Between Modules 3 years 1 month ago #6156

Hi Linh,

Ok, I have removed the margin-top code.
The reason I added that is because I wanted the logo (position top2-1) to overlap the black bar on top.
How would i ONLY by top2-1 module to margin-top: -46px; ?
The administrator has disabled public write access.

Re: Size Between Modules 3 years 1 month ago #6162

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Hello,

You should edit your module logo and add more style as code below:
<img src="/MotorMerchandise/images/mm-logo-full-colour-tm.png" border="0" alt="" width="313" height="153" style="margin-top:-46px" />
The administrator has disabled public write access.
The following user(s) said Thank You: creativedesigns

Re: Size Between Modules 3 years 1 month ago #6163

FABULOUS!!! thank you! I didn't know we could make those sort of coding things in a module itself! I thought it needed to be done in the css! Thank you!!

Just to let you know, even though I subscribed to this topic, I never received an email to say that there is a response. Just thought you should know in case its something you guys need to check out on your side :)
The administrator has disabled public write access.

Re: Size Between Modules 3 years 1 month ago #6164

  • trungdt
  • trungdt's Avatar
  • OFFLINE
  • Administrator
  • Posts: 2287
  • Thank you received: 997
  • Karma: 121
Maybe email notification went to spam box ;) but it's great to hear your answer
The administrator has disabled public write access.
Time to create page: 0.182 seconds