GK image show Widgets on mobile devices
AppsPro Tech - Quickly create elegant website with this app WordPress theme.
- GK User
- Mon Feb 09, 2015 7:07 pm
Hi
I only want to have certain sliders display on a desktop version only, however if I select this within the widget rules and save they still show up on small devices, any suggestions ...
I only want to have certain sliders display on a desktop version only, however if I select this within the widget rules and save they still show up on small devices, any suggestions ...
-
- Fresh Boarder
- GK User
- Tue Feb 10, 2015 8:45 am
Hi,
Could you please provide me with a URL to your website and back-end access via PM (click the “Private Message” text underneath my avatar) so that I may analyze it?
Could you please provide me with a URL to your website and back-end access via PM (click the “Private Message” text underneath my avatar) so that I may analyze it?
-
- Moderator
- GK User
- Tue Feb 10, 2015 11:08 am
PM Sent
-
- Fresh Boarder
- GK User
- Tue Feb 10, 2015 4:53 pm
Header and Banner widget areas don't have CSS class added, please edit AppsProTech/gavern/config/widget.json file and change this fragment:
to:
and similar with the banner area if you need. After this modifications your widget rules should work properly.
- Code: Select all
{
"name": "Header",
"id": "header",
"description": "Widgets area on the header of website",
"before_widget": "",
"after_widget": "",
"before_title": "",
"after_title": "",
"amount":"6"
},
to:
- Code: Select all
{
"name": "Header",
"id": "header",
"description": "Widgets area on the header of website",
"before_widget": "<div id=\"%1$s\" class=\"box %2$s\"><div>",
"after_widget": "</div></div>",
"before_title": "<h3 class=\"box-title\">",
"after_title": "</h3>",
"amount":"6"
},
and similar with the banner area if you need. After this modifications your widget rules should work properly.
-
- Moderator
- GK User
- Tue Feb 10, 2015 5:07 pm
Hey Piotr
Thanks for pointing this out to me, applied the changes and all is good now, cheers
Thanks for pointing this out to me, applied the changes and all is good now, cheers
-
- Fresh Boarder
5 posts
• Page 1 of 1