Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Customise Menu Search Bar
- This topic has 10 replies, 2 voices, and was last updated 2 years, 2 months ago by
Ernest Marcinko.
-
AuthorPosts
-
February 23, 2024 at 2:27 am #47069
mk3
ParticipantHello,
I would like to customise a couple things with the search bar in the menu.Firstly, I would like the background of the menu bar to be transparent and not black – when I try to change that in customisation options, it wont accept completely transparent.
Also, is there a way to make the search bar expand to a floating bar for example just below it instead of pushing the other menu options?
Thansk!
Regards – Matt
February 24, 2024 at 11:23 am #47073Ernest Marcinko
KeymasterHi Matt,
Thank you for the details!
Right now it looks like the icon background is black, you can change that here: https://i.imgur.com/FqcroRf.png
As for the expansion, that is also possible, try like this: https://i.imgur.com/zJ8WRuO.png
February 26, 2024 at 2:43 am #47075mk3
ParticipantYou cannot access this content.
February 26, 2024 at 2:46 am #47076mk3
ParticipantAlso, I’m having trouble centrally horizontally aligning the search icon with the rest of the menu bar – would you have suggestions for that too?
Thanks!
February 26, 2024 at 2:33 pm #47083Ernest Marcinko
KeymasterSure!
Can you please also check the overall box background: https://i.imgur.com/2rBdI4L.png
That is behind the icons, so that could explain the color.For the alignment, try aligning all the menu items to the middle, as right now everything is on the baseline:
.header-nav li { vertical-align: middle; }March 1, 2024 at 4:46 am #47151mk3
ParticipantYou cannot access this content.
March 1, 2024 at 9:37 am #47157Ernest Marcinko
KeymasterSure!
Can you please check if this option is also enabled: https://i.imgur.com/HkzCrGG.png
It should be ON by default, but just to make sure. Another common issue is that the imagick policy does not have the PDF allowed.March 1, 2024 at 11:10 am #47161mk3
ParticipantYou cannot access this content.
March 1, 2024 at 11:20 am #47163Ernest Marcinko
KeymasterThe alternative image source 2 is the problem there, it’s set to a page screenshot, which is always going to be there, and because the image is not empty, it will never fetch the PDF images.
Use this setup:
– Primary: Featured
– Alt 1: Post Content
– Alt 2: Default
– Alt 3: Disabled
– Alt 4: DisabledThat should do the trick.
March 6, 2024 at 1:22 am #47228mk3
ParticipantYou cannot access this content.
March 6, 2024 at 9:40 am #47235Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts
- You must be logged in to reply to this topic.