+ Reply to Thread
Results 1 to 5 of 5

Thread: Olx mobile category slider

  1. #1
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    657

    Olx mobile category slider

    Hello flynax,
    Is it possible that i can adjust the settings in the code to show more icons on the slider on the olx template in standard portrait mobile view?
    Id like to fit 4 icons in the slider with smaller text and text on the bottom of the icon.
    Even if i have to make everything smaller to fit.
    Even beter is to have 8 icons , 4 on top of each other at a time.
    Maybe in the js code or something?
    You can have a look at m.locanto.com to see what i mean.
    Thanks
    Last edited by kiowa; December 30, 2020 at 07:36 AM.
    Boatfind.com
    Boatfind.com.au

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Hello,

    Go to templates > olx > tpl > blocks > categories_carousel.tpl

    below enquire.register('screen and (max-width: 767px)', {

    find the screen size related to your mobile and set your number of items in items:

  3. #3
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    657
    thanks Rudi, how can i put the text on the bottom of the icon and not the side?
    want to make more space to fit the icons.
    Boatfind.com
    Boatfind.com.au

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,138
    Add to style.css the following styles:

    Code:
    Only registered members can view the code.

  5. #5
    Guru
    Join Date
    Jul 2019
    Location
    Australia
    Posts
    657
    Much appreciated Rudi. Hope you have a blessed and prosperous new year.
    I added some column css styles for the categorie and some @media screen mods. and your code for the slider. have a look its way better and almost looking like a native app.

    Next is to make listings 2 columns on Media view.

    Adfind.com.au

    Thanks alot.
    Last edited by kiowa; December 31, 2020 at 09:08 AM.
    Boatfind.com
    Boatfind.com.au

+ Reply to Thread