Hi - my page loads on mobile, the images do not show up under the “Top Categories”. I am currently using the TaskHive theme. Ideally, I’d like for them able to be scrollable, similar to the “Featured Services” section.
Can you please advise how I can fix this to have them show up similar to the featured services section?
@media only screen and (max-width: 47.99em) {
.hp-listing-category--view-block .hp-listing-category__header {display:block}
}
It works this way by default to save the scrolling space on mobile, since category images are not as critical as listing images for browsing and understanding the website content.
Thanks - this worked to solve the image issue, but is there a way to have it setup to scroll like the featured services instead? That would be ideal so the user doesn’t have to scroll so far down the page.
Please let me know which changes are required, it’s easy to hide or resize something with a simple CSS snippet but advanced layout changes or adding a JS slider would require advanced customizations.
I understand, unfortunately there’s no simple code snippet for this at the moment, I tested this locally and this would require further HTML/JS customizations. We’ll try to add more layout options with every TaskHive update.
Yes, please select this heading in the editor (edit the Home page in WordPress/Pages) and add a unique CSS class for it in the block settings on the right, e.g. .listing-categories-title, then you can target it this way:
.home .listing-categories-title {display:none}
To remove this on mobile only, an extra query is required, but if you just want to delete this heading and categories you can simply delete the blocks in the editor.
Please try this CSS snippet. Please make sure that you have correctly added the listing-categories-title class for the title of the listing categories block