Custom CSS not working since update

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Custom CSS not working since update

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41646
    RHD202154
    RHD202154
    Participant

    Please se staging site – https://staging.realsense-learning.co.uk/

    The Search icon is transparent when closed and then white when open, however this is running version 4.24.2 of the plugin.

    On the live site, I cant get this to work in the same way – the live site is using version 4.26.1.

    I need this to work in the same way so that the search icon has no background when closed. I have tried to use the same code but its not working now since the update.

    .asp_m_1[asp-compact=open] {
    background: white !important;
    }

    Please can you assist with this.

    thanks

    #41647
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Sure! In one of the recent releases that attribute was moved to a “data-” attribute so it is valid HTML now. Change the custom CSS code to:

    .asp_m_1[data-asp-compact=open] {
        background: white !important;
    }

    It will do the trick 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.