Site logo

Archived topic

Fix search bar style (Prime Template)

9 replies · Started by WPguy on February 1, 2023

Viewing posts 1–10 of 10

Hi!

I've installed the prime template and imported demo content from the Prime template. And made sure all necessary elements are activated. However, my search bar looks different from the official prime template style.

I checked custom CSS - no issues.
I tried to style with custom CSS - didn't work.

Can you please help me make my search bar look exactly the same as on the official prime template?

Details are in the attachment.

Thanks!

Hello there,

Your FiboSearch is updated. The one used in Prime is currently an older version.

The design of the Search bar changes upon update.

You'll need to use the older version, or use custom CSS to change how it looks.

Thanks, Fernando, got it.

So what is the CSS to fix that?

They changed the styling. The style was coming from their plugin.

Though not perfectly identical, here's something you can try adding through Appearance > Customize > Additional CSS:

.site-header .dgwt-wcas-sf-wrapp {
    padding: 0;
    display: flex;
    position: relative;
    overflow: hidden;
    border-radius: 6px !important;
}

.site-header input#dgwt-wcas-search-input-1 {
    border-radius: 7px !important;
    padding: 4px 20px;
    font-size: 14px;
    font-style: italic !important;
}

.site-header button.dgwt-wcas-search-submit {
    right: 0 !important;
    left: unset !important;
    top: 0 !important;
    height: 100% !important;
    background-color: #ff9b00 !important;
    border-radius: 0 !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

Thanks, Fernando, that worked!

But how do I change the placeholder text in the search bar? I used to find it in the element settings, but it's no longer there.

Hi there,

the plugin has its own settings in Woocommerce > FiboSearch --> Search Bar ( tab ) -----> Search input placeholder

Thanks David!

Last question on this one: how can I change the placeholder color and weight? I'm trying to do the change with CSS but to no avail.

I would really appreciate your help.

Thank you, David!

You're welcome

This archived topic is closed to new replies.