Missing CSS

Hi
Its my first time building a wordpress site and i’m not great with code….i erased a tiny bit of css from the ‘additional css’ section, since then i can’t get the image in the footer to center.

There is additional code for the header but this works fine.

how do i get the default message back in the additional css section? there was a tiny bit of code there and when i had it there the image centred perfectly.

the site is http://thehomecarespecialists.ie

Thanks!
This is the code i see in additional css:

.site-logo {
max-height: 170px;
}

.site-header .col-md-4 a {
display: inline-block;
margin-left: auto;
margin-right: auto;
}

.col-md-8.col-sm-4.col-xs-12 {
position: absolute !important;
top: 50px;
right: 0px;
}

.footer-widgets .sidebar-column.col-md-4 {
margin-left: auto;
margin-right: auto;
float: none;
text-align: center;
}

Hello there,

It looks like to footer widget columns CSS classes have changed to class=“sidebar-column col-md-12”. That’s why the last piece of CSS code won’t work anymore. To center your footer image, add this code:


.footer-widgets .sidebar-column.col-md-12 {
  text-align: center;  
} 

Remove this code as .col-md-4 element doesn’t present.


.footer-widgets .sidebar-column.col-md-4 {
  margin-left: auto;
  margin-right: auto;
  float: none;
  text-align: center;
}

Regards,
Kharis

Hi Kharis,

That worked perfectly, thank you very much!

regards

Sinead

You’re welcome, Sinead!

Please let us know in a new topic if you have any further questions, or if we can provide you with any other assistance.

Regards,
Kharis