• Resolved theishgirl

    (@theishgirl)


    Hi, I have read through the previous threads to try to make the icons visible on my site (www.theishgirlsdish.com). I compared the CSS (it was the same), emptied my cache (still couldn’t see them), and checked the html to see if there were any obvious errors (there don’t seem to be). When I hover over where there supposed to be, the hand icon appears, so I know they’re there – they are just invisible. Any suggestions?
    Thanks for the help – and by the way, LOVE the theme!

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter theishgirl

    (@theishgirl)

    where *they’re* supposed to be ??

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are they invisible only in particular browsers?

    Thread Starter theishgirl

    (@theishgirl)

    I’ve checked both Internet Explorer, Chrome, and the Safari browser on my phone.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Where are they supposed to be? I can see some social icons on your page and am wondering if I’m looking at the right area.

    Thread Starter theishgirl

    (@theishgirl)

    The top right of the page. There are also “Share” social media icons at the end of each post – those are visible. The ones I’m trying to fix link to my social media pages, versus ones that allow readers to share my content.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    The URL to them is wrong, it should be something like:

    url(/wp-content/themes/the-theme/images/example.png)

    Thread Starter theishgirl

    (@theishgirl)

    Okay, I’m fairly new to coding – would that be in my CSS Stylesheet or in my Header.php?

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Did you not add the icons in your Custom CSS?
    E.g.:

    a.twitter {
    background: transparent url(images/social-media.png) 0 0 no-repeat;
    }

    Thread Starter theishgirl

    (@theishgirl)

    No, in Appearance, there is a Theme Options available. The Theme Options page has specific fields to enter your social media urls; any that you don’t fill out don’t show up. I’ve entered the ones I need (not all of them).

    Thread Starter theishgirl

    (@theishgirl)

    Clarification – I did not fill out all the available fields – only the ones I needed.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you check your Custom CSS and comment-out (or remove) any declaration of social media icons just to clarify the issue?

    Thread Starter theishgirl

    (@theishgirl)

    Okay, crazily enough, that worked – now I can see them! Would love to understand why that worked?

    Thread Starter theishgirl

    (@theishgirl)

    (Thank you, by the way!)

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Because your custom css stylesheet doesn’t live in your theme’s directory, and so you can’t refer to the images folder like the theme currently does:

    a.twitter {
    background: transparent url(images/social-media.png) 0px 0 no-repeat;
    }

    You have to use a full path to get back into that folder instead:

    a.twitter {
    background: transparent url(/wp-content/themes/mon-cahier/images/social-media.png) 0px 0 no-repeat;
    }

    Thread Starter theishgirl

    (@theishgirl)

    Okay, think I got it. Thanks for taking the time to explain it, and for helping me solve the problem. I appreciate it! ??

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Social media icons not visible’ is closed to new replies.