• Resolved bliss1

    (@bliss1)


    With your last update a lot of layouts has broken as you’ve changed the variable names in your theme. I’ve used the theme variables in my code like $color1 = var(–paletteColor1);

    The same goes for the font-family and so on.
    But there are no such variables anymore, you’ve renamed them to –theme-palette-color-1


    I assume that after the plugin and theme will be updated on all of the websites built this way (using the old variable names) the layout will break everywhere.

    Is there a way to change this back somehow, or to use double variable name in your coming update?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi @bliss1

    Indeed, these variables have been changed to ensure better compatibility with other software and less possible conflicts.

    Unfortunately, this is how they’re going to be starting from now on.

    But, one of our community members has created an automated converter for CSS – https://convert.bull-media.de/ You may want to give it a shot.

    Hope this clears things up!

    Thread Starter bliss1

    (@bliss1)

    Ok, but i still see these variables somehow, which come from files that are not customized by me – https://prnt.sc/qmScgqL1K4GE
    https://prnt.sc/oMfFcvbliXJx

    Do your new variables use your old ones that don’t work anymore? Or i need to change something in my theme to make it work? Like change all the colors in customizer again? I didn’t change anything in the customizer after the update yet.

    Hello @bliss1

    Hmm, I don’t think the migrator finished its job. Can you please try one thing?

    Go to the Customiser and make the slightest change and resave the changes. This should regenerate the global.css file.

    Thread Starter bliss1

    (@bliss1)

    That helped, thank you.
    I also see that there were some class name changes like ct-image-container ->> ct-media-container, which also broke my layout. Is there a link where i can read about all the variables and classes that have been changed to go through my code and see what else i should change?

    Hello @bliss1

    Only that class has changed. Nothing else.

    Thread Starter bliss1

    (@bliss1)

    Ok, thank you, no more questions!

    You’re very welcome, @bliss1! 🙇‍♂️

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Last update. Variables’ is closed to new replies.