Editing list items margins

Hey there,

A few questions regarding list items on our website homepage https://socialrunner.net, about half way down the page, with orange ticks next to them.


1. On desktop there's so much space on the left and right of each row, is there any way to make them sit closer to each other?

2. On tablet they go to 2 lines of text, is there a way to fix that? Maybe making it wider on tablet?

3. On mobile there is too much space to the left and right, and in between each section (of 4 list items) there is a gap, how can I remove that?

This is the CSS I'm using for the items:

.one-col-special li {
    display: inline-block;
    width: 95%;
    padding: 0;
    vertical-align: top; 
}
.one-col-special li:before {

    content: '✔';   
    margin: auto;
    padding: 5px;
    margin-left:5px;
    margin-right:auto;
    color: orange;
    display: inline-block;
}

Thanks in advance!

Comments

  • Any ideas on how to fix this?
  • Hi,

    1. you can set FULL WIDTH style section if you want them to be closer to the edges.

    2. There is not enough space on smaller screens and that's why list goes to a new line. This is a proper behave of course and the only thing you can do is just make this font smaller on smaller screens but it won't look good in our opinion.
    @media only screen and (min-width: 768px) and (max-width: 959px) {
        .one-col-special li { font-size: 10px !important; }
    }
    3. This is how listing supposed to look like on mobile. But if you want to remove all those margin, you need to use:
    .column_column ul, .column_column ol, .column_helper ul, .column_helper ol, .column_visual ul, .column_visual ol, .mfn-acc ul, .mfn-acc ol, .ui-tabs-panel ul, .ui-tabs-panel ol, .the_content_wrapper ul, .the_content_wrapper ol { margin: 0 !important; }
Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.