Homepage layout

Homepage layout

June 6, 2017
Sofie Sofie
  • Sofie
    Sofie
    Senior Member 152 points

    Hello,

    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.

    See attachment.

    Thanks,
    Sofie

    Attachments:
    You must be logged in to view attached files.
    June 6, 2017 at 6:39 pm
  • Josh
    Josh
    Super Guru 13,887 points

    Hello Sofie,
    Q1.Please go to Appearance >Editor >home-layout-coupon1 and use below code:

    <?php echo do_shortcode('[LISTINGS dataonly=0 show=20 grid=yes]'); ?>

    PremiumPress Documentation » Learn how our themes work


    Q2.Please try below code under Theme Setup >Custom css section

    body {
    background: #fff;
    }

    or

    body {
    background: #fff !important;
    }

    June 7, 2017 at 12:42 pm
  • Sofie
    Sofie
    Senior Member 152 points

    Hello Josh,

    Where exactly in the home-layout-coupon1 I have to add the code?

    Thanks,
    Sofie

    June 8, 2017 at 6:46 am
  • Sofie
    Sofie
    Senior Member 152 points

    I’ve changed [LISTINGS dataonly=1 show=12 custom=”endsooncoupon” ] into the code you told, but there are no changes.

    June 8, 2017 at 6:54 am
  • Josh
    Josh
    Super Guru 13,887 points

    Hello Sofie,
    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]'); ?>
    
    June 8, 2017 at 12:17 pm
  • Sofie
    Sofie
    Senior Member 152 points

    I’ve added it, but it doesn’t work.

    June 8, 2017 at 1:00 pm
  • Josh
    Josh
    Super Guru 13,887 points

    Hello Sofie,
    Send me your login details via support desk so I can do this for >>http://s.premiumpress.com/index.php?/Tickets/Submit

    June 12, 2017 at 5:09 pm
Viewing 7 posts - 1 through 7 (of 7 total)

Didn't find what you were after?

Chat with us now

or contact our support team