Comments LazyBit started the conversationSeptember 27, 2021 at 10:57amHi dev,I managed to align the search form to the right and increase font size for a better UX. I added following CSS: #navigation.header-6 .show-search form.pc-searchform input.search-input { text-align: right; padding-right: 100px; font-size: 16px } .is-sticky #navigation.header-6 .show-search form.pc-searchform input.search-input { padding-right: 100px; } I'm happy with result, anyway I would like to know if there is a better way to achieve it. Maybe my CSS code can be optimized or something, please let me know. 2,613PenciDesign repliedSeptember 27, 2021 at 3:28pmHi,Your code is perfect and has nothing that needs to improve.Couldn’t have done it better myself.Regards,PenciDesign.LazyBit repliedSeptember 27, 2021 at 3:52pmGreat, thank you.LazyBit repliedOctober 1, 2021 at 7:08amHi dev,After the update to Soledad 8.0 search form padding-right only works while header is sticky. How to fix? 2,613PenciDesign repliedOctober 1, 2021 at 8:17amHi,Please go to Appearance → Customize → Custom CSS then add the following custom CSS code: #navigation.header-6 .show-search form.pc-searchform input.search-input { padding-right: 100px;}Regards,PenciDesign. LazyBit replied privately 2,613PenciDesign repliedOctober 1, 2021 at 12:04pmHi,I've updated the custom CSS code & purge all site cache.Please check.Regards,PenciDesign.LazyBit repliedOctober 1, 2021 at 1:14pmIt works great now, thank you! LazyBit replied privately 2,613PenciDesign repliedOctober 15, 2021 at 3:19pmHi,Please go to Appearance → Customize → Custom CSS then add the following custom CSS code: @media only screen and (max-width: 767px) { .header-search-style-default #navigation.header-6 .show-search { height: 58px; } #navigation.header-6 .pcheader-icon>a, .header-search-style-default #navigation.header-6 .show-search a.close-search { height: 58px; line-height: 58px; } .header-search-style-default #navigation.header-6 .show-search form.pc-searchform input.search-input { height: 58px; padding-top: 15px; padding-bottom: 15px; }} Regards,PenciDesign.LazyBit repliedOctober 15, 2021 at 3:24pmYour fix works perfectly, thank you. Sign in to reply ...
Hi dev,
I managed to align the search form to the right and increase font size for a better UX. I added following CSS:
I'm happy with result, anyway I would like to know if there is a better way to achieve it. Maybe my CSS code can be optimized or something, please let me know.
Hi,
Your code is perfect and has nothing that needs to improve.
Couldn’t have done it better myself.
Regards,
PenciDesign.
Great, thank you.
Hi dev,
After the update to Soledad 8.0 search form padding-right only works while header is sticky. How to fix?
Hi,
Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:
Regards,
PenciDesign.
Hi,
I've updated the custom CSS code & purge all site cache.
Please check.
Regards,
PenciDesign.
It works great now, thank you!
Hi,
Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:
Regards,
PenciDesign.
Your fix works perfectly, thank you.