Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #668619

    I’m using a child theme for enfold and have configured font-family, etc, in the back end tool. These were being correctly applied, but they just started disappearing. The only changes that I’ve made since the dynamic styles were showing correctly was to copy some of the parent css files to the child in preparation to make changes to them. I’ve enqueued the layout.css and base.css files, but made no recent changes to either that might account for the lost styling on text. I’ve also cleared the cache and reloaded several times, but to no avail. The admin credentials are in the private area.

    #670239

    Hey rwwood,

    These were being correctly applied, but they just started disappearing.

    What do you mean by “they started disappearing”? The settings are gone? Which setting / settings specifically? Did you configure the options before installing the child theme? If yes, you have to import the parent theme options as described here: http://kriesi.at/documentation/enfold/using-a-child-theme/

    Best regards,
    Ismael

    #671186

    The child theme was set up and working before the problem occurred. I copied the base.css and layout.css files from the parent folder to the child folder, maintaining the directory structure, and then enqueued them in the child theme function.php. When I did, the dynamic font: family from the backend editor was no longer displayed. I’m guessing this is because the parent css, then the dynamic css, and finally the child theme css are applied in that order. I finally discovered that eliminating a font: inherit tag from one of the style sheets restored the desired font family to the front end, however it seems there should be a better way to accomplish the same end.

    #672229

    Hi,

    This is mostly because a style theme is in conflict and new styles are not getting registered. Switching the pre-defined style theme in Enfold > General Style will reset the style settings.

    1. Please backup your styles settings.
    2. Choose a new predefined style theme.
    3. Revert back to your old style and apply the required changes.

    Let us know if you have any questions.

    Best regards,
    Vinay

    • This reply was modified 7 years, 8 months ago by Vinay.
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.