
-
AuthorPosts
-
February 24, 2020 at 9:54 am #1187237
Hello can you please assist with the alignment of the text next to the social icons in the footer? I have attached a screenshot of the desired outcome and ip to access the dev site
February 24, 2020 at 5:36 pm #1187418Hey trufflesadmin,
Thanks for giving us a mockup of what you want to achieve and a link to your site.
However with the current markup/html structure it’s difficult to achieve.
Currently you have 3 divs (2 having class of rows), the 2 social icons and the first paragraph are in the same div which makes it very difficult and hard to fix on responsive versions.
Please do the following instead, Create 1 div put a class name (ex. my-custom-footer) inside it create 2 divs, one has the 2 social icons and the other has those texts.
Then in Quick CSS, try to add the following CSS code:#top .my-custom-footer { display: flex; }
You may need to define width in one for the 2 divs.
Hope this helps.Best regards,
NikkoFebruary 28, 2020 at 4:50 am #1188706Thanks Nikko, I have updated the css as per your recommendation and added some inline styles for the text in the footer, eveything is fine except for the responsive view the social icon are reduced in size. Can you please have a look and advise?
Regards
DFebruary 28, 2020 at 5:47 am #1188715Hi,
Add this to quick css:
@media only screen and (max-width: 767px){
.my-footer div:first-child,
.my-footer div:nth-child(2){
width:100%!important;
}}Best regards,
Jordan ShannonMarch 3, 2020 at 8:23 am #1189614Hi Jordan, that worked well except for the Huawei P 10 , there is some overlap . Can you please check the attached screenshot
Kind Regards
DMarch 3, 2020 at 4:47 pm #1189771Hi,
Try adding this as well:
@media only screen and (max-width: 767px){ .my-footer div:nth-child(3){ margin-left:30px!important; }}
Best regards,
Jordan ShannonMarch 7, 2020 at 11:14 am #1191087Hi Jordan, that has helped but now the icons are too small and cramped I have attached a screenshot, any chance you can recommend any update?
Regards
DMarch 9, 2020 at 4:32 pm #1191562Hi D,
Can you try adding this CSS code:
@media only screen and (max-width:767px) { #top .my-footer { display: block; } #top .my-footer > div { width: 50% !important; display: block !important; float: left; text-align: left; padding: 8px 16px; } #top .my-footer > div:first-child { text-align: right; } #top .my-footer > div:last-child { margin-left: 0 !important; width: 100% !important; } #footer #custom_html-2 { padding-bottom: 60px; } }
Best regards,
NikkoApril 9, 2020 at 11:26 am #1202221Hi Nikko, this has helped thanks and this can be closed now :)
Regards
TAApril 9, 2020 at 3:25 pm #1202345Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘How to right align text next to icons in footer’ is closed to new replies.