Side Bar and Footer Spacing Issue

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Feb 26, 2014 3:25 pm
Reply with quote
Report this post
Hello,

I am trying to make alignments on the template for the sidebar and the bottom part.

the link is www.bay.com.mt/bay32

You can see that the sidebar top and bottom margins are not equal. Any help on how I can do it ?
User avatar
Expert Boarder

GK User
Thu Feb 27, 2014 4:02 pm
Reply with quote
Report this post
I've visited your site and see that you've added custom margin for sidebar (in override.css) and this is why now the sidebar margin top is different with content margin, please look at sidebar » screenshot and for main content » screenshot
User avatar
Platinum Boarder

GK User
Thu Feb 27, 2014 4:08 pm
Reply with quote
Report this post
I am talking about the top and bottom margins.

What can I do to fix them please and make them all the same ? I need them to be spaced about 10px

Thanks for your help
User avatar
Expert Boarder

GK User
Fri Feb 28, 2014 10:47 am
Reply with quote
Report this post
Sorry but I don't understand, you've overwrite this top/bottom margin in override.css - now you want to revert your changes? Please show me on screenshot what effect you want to achieve and why you add the additional margin for sidebar in override.css? Without this code main column and sidebar will have the same margins…
User avatar
Platinum Boarder

GK User
Fri Feb 28, 2014 6:33 pm
Reply with quote
Report this post
I can remove the code but i wanted to reduce them. All i need is that the margins will be less. Can that be done ?
User avatar
Expert Boarder

GK User
Mon Mar 03, 2014 9:58 am
Reply with quote
Report this post
Hi ,

I am trying to attach the file but its a bit bigger.

Please see this link to get an idea of what I want to achieve

http://bay.com.mt/Bay-web-2014-visual.jpg
.
Thanks for your help
User avatar
Expert Boarder

GK User
Mon Mar 03, 2014 10:42 am
Reply with quote
Report this post
Great that there is a screenshot but which margins you are talking about ? Please look here » screenshot and tell me which one.
User avatar
Platinum Boarder

GK User
Mon Mar 03, 2014 10:46 am
Reply with quote
Report this post
Ok I updated it
User avatar
Expert Boarder

GK User
Mon Mar 03, 2014 11:05 am
Reply with quote
Report this post
Now the image shows which spacing i am talking about
User avatar
Expert Boarder

GK User
Tue Mar 04, 2014 9:27 am
Reply with quote
Report this post
Right now every module have 28px margin at the top, if you want to change this value please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
.box { margin-top: 00px}

and then just remember to enable "Use override CSS" option in template advanced settings tab. Of course 00 please replace with your new value.
User avatar
Platinum Boarder

GK User
Tue Mar 04, 2014 1:56 pm
Reply with quote
Report this post
Hi

Thanks alot for your help :) that bit of CSS seems to work.

Just 1 more thing, Can you see the section listen live ? Is it possible to make the bottom spacing the same as well ?

Thanks again
User avatar
Expert Boarder

GK User
Thu Mar 06, 2014 11:19 pm
Reply with quote
Report this post
Hmm… please try with

Code: Select all
#gkSidebar .box.nomargin h1 {height: 90px !Important}
User avatar
Platinum Boarder


cron