Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter brokerapproved

    (@brokerapproved)

    Update: Again, forgive me if I sound stupid.

    I noticed that for all the social media websites, it seems they are referencing a logo though the coding:

    Context: ‘/f222’ or another number i.e. /f218, /f410, etc. Each one is different, and it seems this is what I need to change in order to insert a logo into the existing format.

    Where do I find the list of all the f###’s so that I can add one and link it to a logo url?

    Thanks,
    Joe

    Theme Author Raam Dev

    (@raamdev)

    @brokerapproved You’re not alone. 🙂 It took me a little while to understand how content references work the first time around.

    Here’s the section of style.css that defines the URLs and their associated icons: https://github.com/raamdev/independent-publisher/blob/1.7/style.css#L2412-L2572

    When you add a new menu item to the Social menu, the icon is determined by the domain in the URL (e.g., if your URL contains ww.wp.xz.cn, the WordPress icon is used).

    If you want to add your own domain+icon combination, you can copy the CSS for one of the existing definitions and put that anywhere in Appearance → Custom CSS (enabled via JetPack) or in the style.css file for a Child Theme.

    Where do you find the icon content: strings? See https://genericons.com/

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Custom Icon’ is closed to new replies.