Homepage layout

  • Sofie
    Sofie
    Senior Member
     
    136 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.

    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;
    }


    Sofie
    Sofie
    Senior Member
     
    136 points

    Hello Josh,

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

    Thanks,
    Sofie


    Sofie
    Sofie
    Senior Member
     
    136 points

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


    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]'); ?>
    

    Sofie
    Sofie
    Senior Member
     
    136 points

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


    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


Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.