• Resolved covid19trader

    (@covid19trader)


    Hello,

    I am having issues with my advert list columns, I would like to fit as much of the columns into a stretched row and content within my landing page. I have created this area of my landing page with a HTML Block with the shortcode [adverts_list list_type=”featured” search_bar=”disabled” columns=”6″] inside the block and I have also used the following css:

    .advert-item.advert-item-col-1 {
        width:250px;
        height:250px;
    	  font-size:10px;
    	margin-top: 2px;
    	margin-bottom:2px;
    	margin-left:2px;
    	margin-right:2px;
    }

    For each col-1 to col-6

    My problem is that whenever I stretch the row and the content out and I select that the row should be placed in the middle and the content should be placed in the middle, I am left with this massive white space on the right. It won’t let me center the columns.

    Can you please help me with some css to center the entire HTML Block.

    I have tried to set a margin width of 30px on the left in order to push the content to the right, but this doesn’t work in terms of responsiveness between a PC, a laptop and a phone.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    1. please note that in grid mode WPAdverts supports 2,3 and 4 columns only, you cannot have 5 or more columns right now.

    2. the left and right margins show because:

    – you are forcing the box width to be exactly 250px which will work only for one specific screen size for all other the items will be pushed down to a next line leaving an up to 250px margin on the right side.

    If you remove the width:250px rule then the ads will stretch to take 100% screen width.

    – by using in [adverts_list] an unsupported columns="6" or columns="7" values some CSS code is not applied, you would need to change it to columns="4".

    Thread Starter covid19trader

    (@covid19trader)

    Thanks for your response, I completely understand, can you please eventually provide an update whereby one can have up to about 10 columns? That would really be great to have that option available.

    Thanks for the support!

    Plugin Author Greg Winiarski

    (@gwin)

    In the second half of 2020 i am planning to redesign the frontend templates, then it should be possible to have more columns.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Advert List Columns’ is closed to new replies.