Disable Header mobile widget.

Questions related to the configuration of Wordpress, themes, and security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
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!
User avatar
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:
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>"
   },
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.