- This topic has 9 replies, 3 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
February 1, 2023 at 11:45 pm #2518072
WPguy
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!
February 2, 2023 at 12:20 am #2518116Fernando Customer Support
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.
February 2, 2023 at 12:22 am #2518118WPguy
Thanks, Fernando, got it.
So what is the CSS to fix that?
February 2, 2023 at 12:53 am #2518143Fernando Customer Support
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; }February 2, 2023 at 4:38 am #2518386WPguy
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.
February 2, 2023 at 6:56 am #2518534David
StaffCustomer SupportHi there,
the plugin has its own settings in Woocommerce > FiboSearch –> Search Bar ( tab ) —–> Search input placeholder
February 2, 2023 at 7:55 am #2518696WPguy
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.
February 2, 2023 at 8:41 am #2518772David
StaffCustomer SupportThey provide this in their docs:
https://fibosearch.com/documentation/tips-tricks/how-to-change-placeholder-color/
Although you could probably reduce that down to this:
.dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { font-size: 15px !important; font-weight: 900 !important; color: #f00 !important; }Every property needs
!importantby the looks ofm it.February 2, 2023 at 9:04 am #2518794WPguy
Thank you, David!
February 3, 2023 at 2:17 am #2519737David
StaffCustomer SupportYou’re welcome
-
AuthorPosts
- You must be logged in to reply to this topic.