This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Custom CSS not working since update

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #41646
    RHD202154RHD202154
    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 MarcinkoErnest 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 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.