Okay
  Public Ticket #3906253
Disable Animated Gradient on Mobile
Open

Comments

  • Aron started the conversation

    Can I disable the animated gradient on mobile? 

  •  2,045
    Judith replied

    Hello Aron,

    Thanks for writing to us.

    To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:

    From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:

    @media only screen and (min-width: 1000px) {
    .nectar-animated-gradient {
        display: none;
    }
    }

    Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help. 

     

  • Aron replied

    Hey Judith - This didn't work. I'm still experiencing the animated gradient on mobile with the css.

  •  9,151
    Tahir replied

    Hey Again,

    On which page element do you wish to remove it ?. Could you provide a screenshot?. 

    Best,

     


    ThemeNectar Support Team 

  • Aron replied

    Hey Tahir! I'm hoping to disable the animated gradient on mobile views on a few different pages. On mobile, it distracts from the text. See attached as an example.

    Attached files:  IMG_0AAD7BD4D718-1.jpeg

  •  3,135
    Andrew replied

    Hi Aron,

    Thank you for getting back to us.

    Could you please share the links to the pages so we can look into this for you?

    We look forward to your reply.

    Thanks,

  • Aron replied

    About: https://circlesstg.wpenginepowered.com/about-us/

    and

    Learn More: https://circlesstg.wpenginepowered.com/learn-more/

    It looks like the custom css below actually disabled it on desktop, but not mobile.

  •  2,045
    Judith replied

    Hi Aron,

    Thanks for writing back.

    If you don't mind, could you please also share with us your admin login details to help us test on the CSS that would best work for you.

    I look forward to your response.

  •  9,151
    Tahir replied

    Hey Again,

    Add below CSS only to remove it globally on mobile.

    Add this into the Custom CSS box in your Salient Theme Options panel (We write all Custom CSS in the Live Browser to ensure accuracy. If you cannot see any changes, make sure there is no red cross in the Custom CSS Box as any syntax error would cause all CSS under that line of code to not show up on the Frontend):

    @media only screen and (min-width: 1px) and (max-width: 690px) {
        .nectar-animated-gradient {
            display: none !important;
        }
    }
    

    Thanks


    ThemeNectar Support Team 

  • Aron replied

    worked perfectly, Tahir! Thank you