hi,
I want for the svg logo in footer to be aligned to left on desktop and to middle on mobile – can it be done? – right now mobile view inherits the desktop alignment – I thought it was possible to set this alignment separately for mobile.
-
This topic was modified 5 years by
line77.
Hi,
This can be done if you are using a footer template, then you can achieve this using tagDiv Composer -> https://i.imgur.com/mV5YQx3.png
Thank you!
Hi,
Please try this custom css -> https://i.imgur.com/uwGWLLL.png
.td-footer-template-wrap .tdb-logo-svg-wrap {
margin: 0 auto;
}
This code need to be set in theme panel> custom code> advance css > phone.
Hope this will help you!
Thank you!
Hi,
Please replace the above css with this one ->
.td-footer-template-wrap .tdb-logo-svg-wrap, .td-footer-template-wrap .tdb_header_logo h1 {
margin: 0 auto;
}
I think that on homepage you have set a different footer because this one has set an h1 on logo and that was way the above css didn’t work for homepage.
Thank you!