How to reorder social icons in Oxygen

This quick tutorial shows how to change the order of icons output by Social Icons components in Oxygen.

The default order of icons is Facebook, Instagram, Twitter and YouTube (when URLs for these fields are present).

If you want to set a custom order of say, Twitter, Facebook, Instagram, and YouTube we can do this using the order CSS property.

Add this CSS in a new Stylesheet at Manage > Stylesheets:

.oxy-social-icons-twitter {
    order: 1;
}

.oxy-social-icons-facebook {
    order: 2;
}

.oxy-social-icons-instagram {
    order: 3;
}

.oxy-social-icons-youtube {
    order: 4;
}

Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *