Disable Header mobile widget.
Questions related to the configuration of Wordpress, themes, and security related questions/issues
Rate this topic:
- GK User
- Fri Dec 05, 2014 7:18 am
Hi!
I do not want the "Header" widget is displayed on phones.
I select "Visible on: Desktop ", but still appears on mobile.
What is happening?
Theme: StoreFront
CMS: Wordpress.
URL: http://www.ferreterialosangelescartago.com/contactenos/
Thank you!
I do not want the "Header" widget is displayed on phones.
I select "Visible on: Desktop ", but still appears on mobile.
What is happening?
Theme: StoreFront
CMS: Wordpress.
URL: http://www.ferreterialosangelescartago.com/contactenos/
Thank you!
-
- Junior Boarder
- GK User
- Fri Dec 05, 2014 8:09 am
Hello,
Unfortunately the header widget doens't work with visible widget rules, if you want to change it, please edit StoreFront/gavern/config/widgets.json file and change this fragment:
into:
Unfortunately the header widget doens't work with visible widget rules, if you want to change it, please edit StoreFront/gavern/config/widgets.json file and change this fragment:
- Code: Select all
{
"name": "Header",
"id": "header",
"description": "Widgets area on the header",
"before_widget": "",
"after_widget": "",
"before_title": "",
"after_title": ""
},
into:
- Code: Select all
{
"name": "Header",
"id": "header",
"description": "Widgets area on the header",
"before_widget": "<div id=\"%1$s\" class=\"box %2$s\">",
"after_widget": "</div>",
"before_title": "<h3 class=\"box-title\">",
"after_title": "</h3>"
},
-
- Moderator
2 posts
• Page 1 of 1