The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS centering widgets – I'm obviously doing it wrong

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #243649

    Hi. I’m not very proficient in CSS so I apologize if this is a stupid question but basically, this is the webpage I’m trying to edit:

    In the second section, you’ll see three widgets that are a bit off-center. I’m trying to center them. Here’s a screenshot:

    I see padding of 20px left and 40px right in the inspect element tool so I applied this in the stylesheet:

    .home-widget .widget_gander_widget_html col-md-4 {
    padding: 0;

    as my understanding is that auto isn’t a valid value for the padding property so if I set it to 0, it will apply the theme’s default. But it isn’t working..

    Obviously, I’m doing this all wrong :/


    Try giving .col-md-4 a width: 33% instead, the 330px on line 110 of style.css is throwing things off.

    Edit – probably better even, leave it out altogether. Bootstrap should already take care of it but gets overwritten.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.