• Resolved wordmax

    (@wordmax)


    We were using the classic blue search theme, able to adjust % width for different screens sizes, no problem. Then switched the search bar theme to simple red, then curvy blue… and the % width settings have no affect… they are all 100% on front end view. Even if we change the % value and save settings it has no effect… still stay at 100%.

    Clearing the cache has no affect. Not using CDN or any other cache method. When we change it back to the classic blue where the % value width updates were working, they no longer work after switching over to the other search bar themes and back.

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    The issue is a custom CSS which seem to force a specific width to all editor content elements, and it overrides the set search width as you can see here: https://i.imgur.com/ynCZY7G.png

    The rule seems to apply to any first descendant of the .entry-content module.

    Can you try placing the search shortcode into a custom HTML or a shortcode block, maybe as something like this:

    <div>[wpdreams_ajaxsearchlite]</div>

    With the additional “div” wrap the shortcode container is no longer the first descendant of the entry, and that custom CSS will no longer affect it.

    All the best,
    Ernest

    Thread Starter wordmax

    (@wordmax)

    Aha. Yes, I should have thought to try that. Adding the div tags fixed it.

    Thanks for your quick help.

    Plugin Author wpdreams

    (@wpdreams)

    Great! It’s working and that’s the most important thing.

    If you don’t mind I will mark this as resolved. Feel free to rate the plugin if you like it, it is greatly appreciated!

    All the Best,
    Ernest

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Search bar width % not updating after clearing cache’ is closed to new replies.