Module position INSET - bad behavior in the mobile view

February 2014 Joomla 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
Mon Sep 01, 2014 9:33 am
Reply with quote
Report this post
I have some content in the module INSET on HP: http://silvarium2.setrnedrevo.cz/
Module INSET has set postion on the right of main content.

When I try view this site on mobile view - with is smaller than 640px, content from INSET module is shown below, but on the right of the main content column remains blank column, which narrows main content.

It is possible to correct this behavior in CSS?
User avatar
Senior Boarder

GK User
Mon Sep 01, 2014 10:26 am
Reply with quote
Report this post
Please edit: /templates/gk_news2/css/override.css and add at its end:
Code: Select all
@media (max-width: 640px) {
   #gkContentWrap #gkInset {display: none !important;}
   #gkContentWrap > div {width: 100% !important;}
   
}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Mon Sep 01, 2014 2:50 pm
Reply with quote
Report this post
Thank You very much,

module INSET now works completely according to our wishes

good job
User avatar
Senior Boarder

GK User
Mon Sep 01, 2014 6:39 pm
Reply with quote
Report this post
Is there anything else I can help you with regarding this topic?
If not, then if you will have any other questions (not relative to this thread), feel free to post new forum threads - it allows us to answer you faster.
User avatar
Moderator


cron