Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterUse this custom CSS to avoid the full width of the items when one is hidden, this will resolve that:
.asp_w_container_1_1 >div { max-width: 50%; }Ernest Marcinko
KeymasterHi Camille,
A custom CSS is not going to help in this case, as overriding the background image will also override the background on the search – you can’t restore what’s overwritten. The CSS rule in the screenshot has to be removed or adjusted, as it overrides the initial color.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
Indeed, I was able to replicate this issue, it must be new as it was working all right until recently. I have made a issue request on the bug tracker, this will be resolved within the upcoming release next week.
Luckily it’s a very tiny problem, the timing of the “clear” function seems to be at the wrong position, it should happen after each keystroke, but somehow it’s mitigated to after the search is finished, which causes the jumbled overlay.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou say that we can not use different code for desktop, mobile and tablet view???
You can, of course. If you want you can create as many different search bars with different configurations and use different shortcodes. If your theme supports different blocks for different views, then it’s easy – most themes do support that.
Usually a different shortoce is used for mobile/desktop views if you want a completely different layout. That is super simple to do, most themes do support that.
I would put the
[wd_asp id=1]with the custom CSS into the header, then use[wd_asp id=2]in the mobile view, and then you can style them differently as you need.Ernest Marcinko
KeymasterWe hope that too!
Ernest Marcinko
KeymasterHi Bruce,
Thanks for all the details!
By “documents” do you mean files, such as PDF etc..? If yes, then I assume you mean when clicking on the document result itself the text should be highlighted? Unfortunately that is not possible. When a document is opened within the browser, it is opened within it’s own sandbox environment (not within wordpress), so there is no way to add scripts to it to highlight.
Google chrome will have a neat little feature in the future, where setting a query argument will hihglight some text, similarly to their search in file feature (CTRL+F). Once that’s possible we will try to integrate with that, but I don’t know how usable it’s going to be.Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou are simply missunderstanding me. What I’m trying to say is, if the settings shortcode is used anywhere on the page, that will be the default position for all search bars with the same ID.
If you look at the mobile view, there is the same shortcode rendered with the settings: https://i.imgur.com/Ru2mBkR.png
That is not the same search bar, it’s outputted twice by the theme – one for desktop, one for mobile view.
And because this is rendered before the desktop header, and therefore the settings are placed there as instructed by the shortcode – they can’t be in two separate positions for two separate search bars at the same time when using the settings shortcode.There is still a chance to do it, without using the settings shortcode. When that shortcode is not used, then all search bars have separate search settings areas below the search bar as default. I replaced the shorcode in the header “html3” block to the normal one. I have also added this custom CSS to trigger a 50/50 layout:
.asp_w_container_1_1 { display: flex; align-items: center; align-content:flex-start; }That results in this layout: https://i.imgur.com/O4OwPfE.png
Please note that I am more than happy to help with these customizations, but none of these issues is caused by the plugin, it’s due to the implementation, which is not even part of the support process.
Ernest Marcinko
KeymasterHi,
When you are using the settings shortcode within the content, the settings will be positioned there – regardless if they are set to a block or a hover position.
– if you want to use the settings as default (hover below the search), then make sure to remove the settings shortcode, and then use these options: https://i.imgur.com/vktaIBn.png
– if you want the settings in a different position as a block, then use the settings shortcode and these settings: https://i.imgur.com/jTLmpQX.pngErnest Marcinko
KeymasterHi,
Thanks for the details!
I checked the page, but I am seeing the settings box within the page right here: https://i.imgur.com/2XFKIr7.png
It seems to be the correct position, as the settings shortcode is placed there in the editor: https://i.imgur.com/j6i1BoA.pngYou may have to clear your site cache if you made the change recently.
Ernest Marcinko
KeymasterGreat!
Those you can find here: https://i.imgur.com/WtdcM9y.png
December 12, 2024 at 8:39 am in reply to: Fetching a URL parameter from within an asp_query_args callback function #52255Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
-
AuthorPosts