How change the module position in StoreBox template

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
Thu Sep 12, 2013 11:46 am
Reply with quote
Report this post
Good Day,

I need to do two things:

1. move the whole page up so that there isn't such a big gap between the header module and the top of the browser window.
2. I need to move the main body module position down so that it does not overlap with the header module.

Se attached image.

Please can you help me with this.

Thanks,
Steven
User avatar
Senior Boarder

teitbite
Fri Sep 13, 2013 3:59 am
Reply with quote
Report this post
Hi

Please tell me the url of Your website.
User avatar
Moderator

GK User
Fri Sep 13, 2013 6:12 am
Reply with quote
Report this post
Hi there,

It is http://dev.recupeit.co.za

Thanks,
Steven
User avatar
Senior Boarder

teitbite
Sat Sep 14, 2013 1:51 am
Reply with quote
Report this post
Hi

To move page up use this css code:

Code: Select all
body { padding-top: 20px; }


To lover content down use this code:

Code: Select all
.gkIsWrapper-gk_storebox { margin-bottom: -100px; }
User avatar
Moderator

GK User
Sat Sep 14, 2013 7:52 am
Reply with quote
Report this post
Worked perfectly! Thanks!
User avatar
Senior Boarder

teitbite
Sun Sep 15, 2013 5:52 pm
Reply with quote
Report this post
Hi

No problem. Glad I could help :)
User avatar
Moderator

GK User
Mon Sep 16, 2013 8:16 am
Reply with quote
Report this post
Hi There,

This fix worked for the desktop layout but for tablets and mobile layouts, the main body module is still too high. Can this be changed?

Thanks,
Steven
User avatar
Senior Boarder

GK User
Mon Sep 16, 2013 8:45 am
Reply with quote
Report this post
Just an update, I worked out how to fix this in the mobile and tablet layout. But, when viewing in portrait, it does not work. So, if I view in landscape mode it looks good, but in portrait mode the body module still overlaps with the header module.
User avatar
Senior Boarder

teitbite
Wed Sep 18, 2013 3:41 am
Reply with quote
Report this post
Hi

Please add this code to with !important rule so it will override it for all layouts

Code: Select all
.gkIsWrapper-gk_storebox { margin-bottom: 0 !important; }
User avatar
Moderator

GK User
Wed Sep 18, 2013 8:08 am
Reply with quote
Report this post
Hi There,

This worked for all layouts except for when the site is viewed on a mobile phone in portrait mode. Can you advise if its possible to fix this, or if it possible to prevent this module from loading on the mobile layout or load a different module instead of this one on mobiles?

Thanks,
Steven
User avatar
Senior Boarder

teitbite
Thu Sep 19, 2013 5:20 am
Reply with quote
Report this post
Hi

My code is working. What You see there is a different problem with images and text not matching 100% responsive requirements. Please try add this code to mobile.css file:

Code: Select all
#gkLogo img {
    max-width: 100%;
}

.gkIsWrapper-gk_storebox figcaption h2 {
    font-size: 12px;
}

.gkIsWrapper-gk_storebox figcaption h1 {
    font-size: 18px;
}
User avatar
Moderator


cron