How do I hide gkcontent on home 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
Fri May 10, 2013 2:21 am
Reply with quote
Report this post
I followed instructions to hide mainbody but it still appears on the home page.

Also where do I change the css that controls the threshold of multi column tables changing into single column tables on a phone?

Currently a perfectly set up 5 column table gets completely destroyed when viewed on a phone in vertical format.
User avatar
Junior Boarder

GK User
Fri May 10, 2013 6:55 am
Reply with quote
Report this post
Which instructions you follow ? This ones ? http://www.gavick.com/documentation/joomla-templates/how-to-disable-content-on-selected-joomla-pages/

Could you give me URL to page where did you set suffix ?
User avatar
Platinum Boarder

GK User
Sat May 11, 2013 1:00 am
Reply with quote
Report this post
bkrztuk wrote:Which instructions you follow ? This ones ? http://www.gavick.com/documentation/joomla-templates/how-to-disable-content-on-selected-joomla-pages/

Could you give me URL to page where did you set suffix ?


Yes. I used the instructions found in the URL you listed.
Here's the URL: http://www.digital-control.com/gavick/index.php/en-us/
User avatar
Junior Boarder

GK User
Mon May 13, 2013 8:08 am
Reply with quote
Report this post
Please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
body.noMainbody #gkContent { display: none !important}

and then just remember to enable "Use override CSS" option in template advanced settings tab.
User avatar
Platinum Boarder

GK User
Mon May 13, 2013 7:40 pm
Reply with quote
Report this post
OK I did that and it worked. I must have forgotten to add the code in the override.css file. I thought I did, but anyway, now another problem is found. The content in the slider module covers the top half of the bottom module, so the address is now cut off, and half of the Discover menu is cut off as well.

What else must I change to make it work right?

Thanks so much for the help.

Andrew.
User avatar
Junior Boarder

GK User
Tue May 14, 2013 11:10 pm
Reply with quote
Report this post
Something happened, and the override doesn't work anymore. I'm not sure what's going on.

Also, how do I use my own stylesheet and jscript for making my own responsive table?




bkrztuk wrote:Please add this code to override.css file in root/templates/gk_template_name/css directory :
Code: Select all
body.noMainbody #gkContent { display: none !important}

and then just remember to enable "Use override CSS" option in template advanced settings tab.
User avatar
Junior Boarder

GK User
Wed May 15, 2013 8:51 am
Reply with quote
Report this post
Could you show me the problem on some screenshot, I've visited your site and simply can't find it or maybe just I'm blind :)
User avatar
Platinum Boarder

GK User
Thu May 16, 2013 12:17 am
Reply with quote
Report this post
bkrztuk wrote:Could you show me the problem on some screenshot, I've visited your site and simply can't find it or maybe just I'm blind :)

[img]bug.png[/img]

As you can see, the maincontent is still there. It covers the the slide.

the Url to the test site is: http://www.digital-control.com/gavick/index.php/en-us/
User avatar
Junior Boarder

GK User
Thu May 16, 2013 12:42 am
Reply with quote
Report this post
bkrztuk wrote:Could you show me the problem on some screenshot, I've visited your site and simply can't find it or maybe just I'm blind :)



Also, how do I use my own javascript and css for creating responsive tables?

The existing code in the template doesn't work very well for for 5 column tables when viewed on the iPhone or a mobile device.
http://www.digital-control.com/gavick/i ... s/f-series


I'd like to use the custom code and css like in this example:
http://www.digital-control.com/gavick/footable/

You will notice that preselected columns are collapsed when viewed on a phone or tablet.

Thanks in advanced.

Andrew
User avatar
Junior Boarder

GK User
Thu May 16, 2013 8:16 am
Reply with quote
Report this post
I've checked your override.css file and there is no this code there :

body.noMainbody #gkContent { display: none !important}


Could you add this code again so I can see it here >> http://www.digital-control.com/gavick/templates/gk_storebox/css/override.css
User avatar
Platinum Boarder

GK User
Thu May 16, 2013 7:52 pm
Reply with quote
Report this post
bkrztuk wrote:I've checked your override.css file and there is no this code there :

body.noMainbody #gkContent { display: none !important}


Could you add this code again so I can see it here >> http://www.digital-control.com/gavick/templates/gk_storebox/css/override.css



Thanks. That worked, however, now I have the same problem I had before.

The slider covers the top half of the bottom menu and address.

I have attached a screen grab of the problem. The file is bug2.jpg.

Thanks in advanced.

Andrew
User avatar
Junior Boarder

GK User
Mon May 20, 2013 8:33 am
Reply with quote
Report this post
There is no attachment in your post, could you attach it again ?
User avatar
Platinum Boarder

GK User
Tue May 21, 2013 8:16 pm
Reply with quote
Report this post
bkrztuk wrote:There is no attachment in your post, could you attach it again ?


OK let me try again...but you can also view the site live at :

http://www.digital-control.com/gavick/index.php/en-us/

[img]bug2.jpg[/img]

How do I make the upload stick? Every time I upload the file, it doesn't seem to attach.
User avatar
Junior Boarder

GK User
Thu May 23, 2013 7:34 am
Reply with quote
Report this post
Please add this part to override.css file :

Code: Select all
body.noMainbody #gkBottom1 {padding-top: 250px !important}
User avatar
Platinum Boarder

GK User
Thu May 23, 2013 8:46 pm
Reply with quote
Report this post
bkrztuk wrote:Please add this part to override.css file :

Code: Select all
body.noMainbody #gkBottom1 {padding-top: 250px !important}



Thank you very much! It works!
User avatar
Junior Boarder


cron