I want a grid layout at my homepage. Theme Setup –> Page Setup –> Search Page –> Default view is configured to grid, but the list view stays at my homepage.
I tried to make a page with [LISTINGS show=50 grid=true] and set it as default homepage, but in that case my homepage searchbox dissapears and I want to keep it. Can I set this search box to all pages, in stead of the black searchbox?
I also want a white background, in stead of the stars background, it’s not editable in the customizer.
Q1.Please go to Appearance >Editor >home-layout-coupon1 and use below code:
<?php echo do_shortcode('[LISTINGS dataonly=0 show=20 grid=yes]'); ?>
Q2.Please try below code under Theme Setup >Custom css section
background: #fff !important;
Where exactly in the home-layout-coupon1 I have to add the code?
I’ve changed [LISTINGS dataonly=1 show=12 custom=”endsooncoupon” ] into the code you told, but there are no changes.
Please add the code where you want your listings displayed.For example if I wanted to display my listings under the carousel then my code below the carousel code would look like this:
<div id="car1" class="owl-carousel wlt_search_results grid_style style1"> <?php echo do_shortcode('[LISTINGS dataonly=1 show=8 custom="endsooncoupon" ]'); ?> </div> <?php echo do_shortcode('[LISTINGS dataonly=0 show=20 grid=yes]'); ?>
I’ve added it, but it doesn’t work.
You must be logged in to reply to this topic.