• Resolved MistaDan

    (@mistadan)


    Hi,
    Quick question about skins. Your support page

    https://wp-customerarea.com/documentation/the-skin-system/

    indicates that to make a new skin:

    Copy the folder /wp-content/plugins/customer-area/skins/frontend/default-v4…

    but that folder is not present in the download, I only see master and master-dark.

    Also, when I turn off the skins via the dashboard’s “front end” tab, it breaks the ‘General’ and ‘Address’ tabs and the ‘Country’ and ‘State’ dropdowns on the edit account page (this happens in the wordpress 2016 theme as well as mine). I was thinking just using default-v4 skin might load whatever css/js the tabs/dropdowns rely on, but can’t find that default-v4 folder, as described above. Here are some options as I see them:

    1. Ideally I would like to have the skins off, with the tabs and dropdowns working as they do in your master skin

    or

    2. I was able to get the tabs working by just enqueueing bootstrap myself on the customer-account-edit-content.template.php which I’ve overwritten in my theme using your handy template system
    ‘//netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css’
    ‘//netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js’
    I would be fine with enqueueing the style/js for the dropdown in the same way, but I am not sure what the dependency is, though I have attempted to isolate it (jqueryUI along with css from your skins I am guessing).

    or

    3. If the default-v4 skin would fix these issues while allowing me to have full control of the styling (we have multiple custom post types being protected by customer area and all have different styling requirements, so something like the master skin won’t work for us), then I’d be happy to employ it, just need it first ??

    Any assistance would be greatly appreciated.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Contributor Vincent Mimoun-Prat

    (@vprat)

    Hi,

    Our documentation has not been updated. default-v4 is an old skin. Since 7.0 the default skin is master (and master-dark is a variant of it).

    A skin contains both styles as well as UI scripts required by the skin to enhance the UI of WPCA.

    If something is not working then it means most probably that your theme (or another plugin) is conflicting with the skin. To make sure, you can try to switch temporarly to one of the default themes (TwentyTwelve for instance) and see if it works.

    If that is the case, have a look at our FAQ, you should find something about resolving Booststrap conflicts.

Viewing 1 replies (of 1 total)
  • The topic ‘Question about skins’ is closed to new replies.