Mainbody on Front Page

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 Aug 07, 2013 11:25 am
Reply with quote
Report this post
Hello!
I'm trying to get rid of the mainbody on the home page, and although I have already disabled all mainbody modules, a white space remains present.
Any ideas?
Thanks much!
User avatar
Senior Boarder

GK User
Wed Aug 07, 2013 3:29 pm
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Wed Aug 07, 2013 8:29 pm
Reply with quote
Report this post
User avatar
Senior Boarder

GK User
Mon Aug 12, 2013 5:20 pm
Reply with quote
Report this post
If I understood your problem right:
please edit: /templates/gk_bluap/css/override.css and add at its end:
Code: Select all
#gkPageContent {
padding: 0px 90px 0 90px;
}
.frontpage #gkContent {
padding: 20px 0 0 0;
}

It should reduce the spacing on top of center module so it looks visually pleasant.
Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Tue Nov 19, 2013 10:52 pm
Reply with quote
Report this post
Is there any way to make these changes on the front page mainbody module only, rather than changing the mainbody position on all pages?
The empty space looks good on sub pages, but it just seems unnecessary on the front page module.
User avatar
Senior Boarder

GK User
Thu Nov 21, 2013 8:54 pm
Reply with quote
Report this post
Yes, please read this doc about creating page suffix:
http://www.gavick.com/documentation/gen ... mla-pages/
create a suffix for homepage (eg myhomepage), and then use it as custom selector for css in override:
Code: Select all
.myhomepage #gkPageContent {
padding: 0px 90px 0 90px;
}
.myhomepage .frontpage #gkContent {
padding: 20px 0 0 0;
}
User avatar
Moderator

GK User
Thu Nov 21, 2013 9:05 pm
Reply with quote
Report this post
Great, it worked, thank you!
User avatar
Senior Boarder

GK User
Sat Nov 23, 2013 1:21 pm
Reply with quote
Report this post
Is there anything else I can help you with on this topic?
User avatar
Moderator

GK User
Thu Nov 28, 2013 11:45 pm
Reply with quote
Report this post
I think that wraps it up, thank you for the assistance.
User avatar
Senior Boarder

GK User
Sat Nov 30, 2013 12:07 pm
Reply with quote
Report this post
Ok, closing the topic.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.