Tagged: buddypress, Community Builder Pro, Header, search, Search Field
I am using the lastest version of Community Builder Pro Theme, for BuddyPress, and have encountered this styling issue.
On a pc, the search field fills 100& of the space between the logo and the Notifications icon. I would like it to fill only 90% of that space. So where in the theme child or parent would I change it?
Hi Alexis,
You may use the following css to control it..site-header-row .search-form { max-width: 90%; }
Regards
BrajeshOK, that reduces the search field size, but only insofar as it regards the right margin space. It still impacts the site logo on the left side.
- This reply was modified 3 years, 8 months ago by Alexis Bugnolo.
- This reply was modified 3 years, 8 months ago by Alexis Bugnolo.
Hi Alexis,
Please link me to a screenshot showing how you want it to work. It should be a simple css change.Regards
BrajeshI am interested in knowing(if you can mark on the image) on how do you want it to look like?
Thank you
BrajeshI would like the search field to be equally spaced on left and right, from the logo on the left, to the notifications icon on the right.
For exzmple, just as in the theme of buddydev, where the menu idem Blog is just as far from your BuddyDev logo, as your menu item Pricing is from the UserName Icon.
Hi Alexis,
Thank you.Please add the below code too(please make sure to keep the one I shared earlier).
.site-header-row .site-header-block-middle{ justify-content: center; }
That will do it.
Regards
Brajesh- This reply was modified 3 years, 8 months ago by Brajesh Singh. Reason: Updated code
The topic ‘ [Resolved] How to limit the size of the Search Field box in Header?’ is closed to new replies.