• Is it possible to add custom gradients to Mesmerize? I love the option to overlay a gradient but I’d like to edit the colors. Where can this be done? Is there a file location for them?

    I’m comfortable messing with code, I’d just love to know where to look.

    Thanks!
    Lindsay

Viewing 15 replies - 1 through 15 (of 21 total)
  • Hi
    This stylesheet has css for producing gradients:
    \wp-content\plugins\mesmerize-companion\theme-data\mesmerize\assets\css

    Also this one:
    \wp-content\themes\mesmerize\assets\css

    Hope this helps

    Colin

    Thread Starter lbrand309

    (@lbrand309)

    That does help. Found the files no problem. However, none of the MANY gradients in the files show up in the customizer. Is that something that’s a pro-only feature? I can’t even find where the limited (2 gradient) list comes from.

    Hi
    I have got 5 showing up Plum Plate, Ripe Malinka, New Life, Sunny Morning and Red Salvation.

    I will have another look.

    Cheers

    Colin

    Thread Starter lbrand309

    (@lbrand309)

    Colin,

    I only see 2 – plum plate, red salvation. This is true on both the install of Mesmerize I have on my hosting account’s WordPress site, and the test drive I tried through Mesmerize demo site.

    Screencap here: https://ibb.co/mZ9o6H

    Thanks,
    Lindsay

    Hi
    If you go to wp-content\themes\mesmerize\inc\theme-options.php then go to line 266 and you can add the other gradients.

    You will need to refer to the gradient stylesheet for the other colours.

    function mesmerize_get_gradients_classes()
    {
        return apply_filters("mesmerize_webgradients_list", array(
            "plum_plate",
            "ripe_malinka",
            "new_life",
            "sunny_morning",
            "red_salvation",
            "night_fade",
            "young_passion",
        ));
    }

    I just added the two more as shown above, don’t forget to save the file.

    Colin

    Thread Starter lbrand309

    (@lbrand309)

    That’s awesome, and would be really simple, if it worked for me – but my list included the full (original) list of 5 gradients, and I even added the two others, just to see, but still see only the two from before. Very curious.

    Hi
    My version is the free one as well and I see all 5 gradients plus the 2 others I added.

    Have you got the Mesmerize Companion installed and activated? I’ll install it again and see what I get from a fresh install.

    Colin

    Thread Starter lbrand309

    (@lbrand309)

    yes, I do. Very curious.

    Thread Starter lbrand309

    (@lbrand309)

    I even tried a few different browsers on my computer (a mac) and then from a PC, still only two gradients available.

    Hi
    Just installed Mesmerize on Localhost and I get the 5 gradients. I think I had 2 gradients originally as well but now I have the full 5.

    The theme got updated the other week, did you update it?

    I am also using a Child theme so I don’t lose anything when a update is available. I will have to see if I can run the theme-options from the child theme folder.

    Edit: No it doesn’t work under a child theme so must remember to copy the gradients back over once updated.

    Colin

    • This reply was modified 6 years, 9 months ago by cjc1867.
    Thread Starter lbrand309

    (@lbrand309)

    I am using a child theme. Mesmerize is version 1.2 on my install. No notifications regarding update. I have another host account I can install on and see if there’s any difference. I’ll report back when it’s finished.

    Thread Starter lbrand309

    (@lbrand309)

    nope. still only two gradients. Exactly the same. Companion installed.

    Very odd.

    Hi
    What version of Mesmerize Companion plugin have you got? Mine’s 1.2.6

    Have you got the link to your website?

    Colin

    Thread Starter lbrand309

    (@lbrand309)

    plugin is the same version – 1.2.6

    The website is still under development and doesn’t have any active uses of the gradients since none of the colors suited where I was going.

    This isn’t a dealbreaker in my choice of theme but sure is frustrating and quite the mystery…

    Hi
    What are you using to develop the website?

    Colin

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Add Gradients’ is closed to new replies.