How to enable sugestions for other search bars, change thumbnail size?

Posted in: Newspaper
Post count: 5

Hello, I’d like you to help me with 4 questions:

1) In the header menu, the live search works well. But is there a way to implement it in another search boxes, for example, in the sidebar? The default WordPress search doesn’t seem to have this feature.
1.1) Due to the server and thousand of posts, the search takes a while to process the live results. Is there a way to insert a loading gif to show the user the content is beeing loaded? That would be just VERY helpful.

2) How do I enable smart snap only in the desktop version? I seems this feature doesn’t work well with mobile browsers, so it is going to be way better do disable it only in the mobile version (and let it sticky).

3) Some days ago, you answered me about changing the thumbnail sizes. But I couldn’t make it, can you please explain better where should I update/create the thumbnail code? I tried in functions.php but it didn’t work..

4) At last, could you give me directions to change the way “latest articles” are shown in the homage? The default template is Pagebuilder + latest articles + pagination, and I like that, but I would like to change the template, and display posts as a list.

Thank you in advance!

Post count: 6535

Hi

1. The search bar is somehow tied by header menu because of js: http://screencast.com/t/EpkujBGj3 To move that box in another container is required a new approach for it, new selectors, new js. This is a quite complex task which involve many customizations in order to be achieved. We can’t offer customization services at the moment so if you really need this and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.

2. nfortunately the theme don’t have an option to make the menu stinky only for desktop. However you can use this this css in theme panel > custom code > custom css to achieve a similar rezult:

@media (max-width: 767px) {
.td-header-wrap{
position: relative!important;
}
.body-td-affix .td-header-wrap .td-header-menu-wrap {
display: none;
}
}

3. Theme’s thumbs are defined in td_config.php: http://screencast.com/t/q4tp5MIin You can define new thumbs there but you will need to regenerate the thumbnails in order to be created: https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/ For more details about how to use theme’s API check this link: https://forum.tagdiv.com/api-thumbnail-introduction/

4. You can use module which have a similar layout with a list: http://screencast.com/t/c3Rk94hFFQcN

Thanks!

Post count: 5

Hello again..

Thanks for the help, but how can I add a loading icon while the results is being loaded? Because in my site it is taking about 5 seconds or more to start displaying the items..
Thanks!

Post count: 6535

HI

That icon can be added only by editing the is which generate live search. This task involve some customizations in order to be completed and unfortunately I can’t provide a solution now. We can’t offer customization services at the moment so if need this and you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.