-
AuthorPosts
-
September 24, 2018 at 6:28 pm #1013742
Hi Enfold team,
On May 17th I’ve posted a ticket about how to align the content of the 2nd column in my footer.
I added the following code to my quick CSS:
#text-8 {
text-align: center;
}
#text-8 .textwidget {
width: 40%;
margin: 0 auto;
}
#text-8 .wp-image-609 {
margin-right: 0px;
}But now it isn’t aligned anymore…..
Maybe because I’ve used the WPML plugin to translate the footer, too?I hope you can help me!
EefkeSeptember 24, 2018 at 8:41 pm #1013830Hey Eefke,
Yes perhaps the id’s have changed.
Best regards,
Jordan ShannonSeptember 24, 2018 at 8:45 pm #1013831Hi,
I’m assuming you want it centered correct?
Best regards,
Jordan ShannonSeptember 24, 2018 at 8:52 pm #1013841yes please
September 24, 2018 at 10:55 pm #1013882Hi,
add this to quick css:
#footer .av_one_third:nth-of-type(2){ padding:0 100px!important; }
Best regards,
Jordan ShannonSeptember 25, 2018 at 11:09 am #1014132Yes that worked! Thanks Jordan.
Is it also possible to align the social media icons in the centre? They are now aligned to the left.September 25, 2018 at 5:34 pm #1014315Hi,
I’m glad my first suggestion worked. Add this to quick css to center the rest:
#footer #text_icl-3{ text-align:center!important; }
Best regards,
Jordan ShannonSeptember 25, 2018 at 6:51 pm #1014386Hi Jordan,
Thanks, it worked for my English page.
Unfortunately not for my Dutch page…. Any idea?September 25, 2018 at 6:54 pm #1014389Hi,
Hmmmm, perhaps the ductch places another id on it. I’ll check again. In the meantime, please clear cache while Dutch is activated to see if that works.
Best regards,
Jordan ShannonSeptember 25, 2018 at 6:59 pm #1014394ok! I’ve cleared the cache
September 26, 2018 at 2:46 pm #1014754Hi shedoesitcoaching,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
#text_icl-3 .textwidget { padding-left: 17px; }
If you need further assistance please let us know.
Best regards,
VictoriaSeptember 26, 2018 at 3:14 pm #1014775Hi Victoria,
Thanks for your reply!
It didn’t work in the quick css.
What do you mean with the custom css?September 26, 2018 at 5:36 pm #1014883Hi,
Did you add to the very top of quick css so it runs first? Also clear your cache a few times over. Custom.css is a file found in the CSS folder of the theme.
Best regards,
Jordan ShannonSeptember 26, 2018 at 9:16 pm #1014995Yes I’ve tried that, too.
But unfortunately nothing has changed….Any other ideas?
Thanks in advance!Eefke
September 27, 2018 at 6:16 pm #1015425Hi Eefke,
It gets centered with this code
https://cl.ly/a4a308038f78 I put the code in Quick css in the English version and it worked. You can copy it to other languages.
Best regards,
VictoriaSeptember 27, 2018 at 8:54 pm #1015513This reply has been marked as private.September 27, 2018 at 9:22 pm #1015519September 27, 2018 at 9:28 pm #1015521I know how to make it, but can I upload it here?
September 27, 2018 at 9:29 pm #1015522Hi,
You have to share via a link.
Best regards,
Jordan ShannonSeptember 27, 2018 at 9:37 pm #1015524Thanks! see the link in the private area
September 30, 2018 at 8:53 am #1016219Hi,
I fixed it by replacing the alignleft classes with aligncenter classes in the widget code (both languages) and by changing the css code in the quick css field to:
#footer .av_one_third:nth-of-type(2){ /*padding:0 100px!important;*/ text-align:center!important; } #footer .av_one_third:nth-of-type(2) a, #footer .av_one_third:nth-of-type(2) img{ display:inline; padding: 0 5px; }
(also both languages).
Best regards,
PeterSeptember 30, 2018 at 9:09 pm #1016335This reply has been marked as private.October 2, 2018 at 6:28 am #1016893 -
AuthorPosts
- The topic ‘Align content 2nd column footer’ is closed to new replies.