• Resolved Parwaiz Khan

    (@parwaiz-khan)


    Hello Signore Aldo Latino,

    Thank you for guiding me setting up the 2 column setup in my site. As we discussed before, I inserted 4 posts via PIS widget, then some content (an image), then inserted the PIS widget again (skipping first 4 posts). But, the post are now in a single column – 2 column set up is not working.

    The site is: https://lifevibrant.com

    I have entered the same css for the new widget (“otw-widget-3” instead of the “otw-widget-1” that was for the first 4 posts) as follows:

    .otw-widget-3 li.pis-li {
    width: 47%;
    height: 260px;
    float: left;
    margin-right: 6%;
    margin-left:-15px;
    margin-top:-15px;
    margin-bottom:25px;
    }
    .otw-widget-3 li.pis-li:nth-child(even) {
    margin-right: 0px;
    }
    .otw-widget-3 .pis-thumbnail-img {
    text-align:center;
    max-width: auto;
    height: 100px;
    margin: 2px 0px -15px 0px !important;
    }

    Any idea what is going wrong and how to correct it?

    Thank you,

    Parwaiz

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    Hello Parwaiz,
    looking at your current CSS file I noticed that a comment seems not to be correctly closed.

    Insert a close-comment tag */ at line 364 of your style.css and the .otw-widget-3 li.pis-li will works as expected.

    Let me know.

    Thread Starter Parwaiz Khan

    (@parwaiz-khan)

    Hello Aldo,

    My bad – what an embarrassment! Yes, I closed the comment tag, and it is working perfect.

    Thank you very much for looking into it.

    Wishing you a great 2017.

    Parwaiz

    Plugin Author Aldo Latino

    (@aldolat)

    Have a great year, Parwaiz! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 Columns not working’ is closed to new replies.