Mainbody on Front Page
Rate this topic: 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!
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!
-
- 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?
-
- Moderator
- GK User
- Wed Aug 07, 2013 8:29 pm
- Reply with quote
- Report this post
-
- 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:
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.
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.
-
- 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.
The empty space looks good on sub pages, but it just seems unnecessary on the front page module.
-
- 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:
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;
}
-
- Moderator
- GK User
- Thu Nov 21, 2013 9:05 pm
- Reply with quote
- Report this post
Great, it worked, thank you!
-
- 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?
-
- 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.
-
- Senior Boarder
- GK User
- Sat Nov 30, 2013 12:07 pm
- Reply with quote
- Report this post
Ok, closing the topic.
-
- Moderator
10 posts
• Page 1 of 1