WordPress.org

Forums

ul and li not working on front page (2 posts)

  1. kortaben
    Member
    Posted 1 year ago #

    Hi all,
    I'm trying to get a horizontal list working.
    If you look at my site http://www.parklanefashion.com/web there's two small images below the slider.
    I want these to be on the right side instead. But I cannot for my life get it to work.
    I've tried floating and setting inline-block but they all squeeze the slider to a minimum when I do it.

    Does anyone have any ideas?

    Thank you!

    Regards,
    Marcus

  2. Laura Hartwig
    Member
    Posted 1 year ago #

    Hi Marcus,
    First, make sure you're using a child theme or a custom CSS plugin so your changes won't be overwritten.
    Then, it looks like you need to add:

    .home-slider-images li {
        display: inline;
        float: left;
    }

    Looks like you will probably want to resize your images as well, but this should do what you asked for- move the small images to the right.

    Hope this helps.

Topic Closed

This topic has been closed to new replies.

About this Topic