I am trying to add country flags to the footer of my Dawn theme, similar to how to social icons, or payment options are displayed. A small list of icons underneath the columns of the main footer.
I first wanted to duplicate the social icon code and replace the icons with my custom flag icons but I’m having trouble figuring out where that code is and what to duplicate.
Hi LunarUx
you just need to go footer.liquid you will find payment icons might be a snippet so copy that code and paste that again that would be li tag the you can put these flag images with these payment card icons. i suggest you to use Svg
So I believe I found the relevant code to duplicate, however I’ve now encounters the following display problems, the duplicated version is displaying vertically, and the original payment icons are no longer centered.
What I did was to locate the relevant payment icons code and duplicate it, then replace the word “payment” in the code with “flags” everywhere it showed, for example:
The code I posted gives me this output which is still formatting differently. The flag__list has the same css code as the payments list and I’m not sure why it is displaying vertically.