• Hi!

    I like this theme very much, it’ s really great ??
    I have a little problem. Today I made child theme (put there only style.css and functions.php) and still working on css. Everything is working ok except icons – there are none. Here is sample of social links

    https://oi59.tinypic.com/de7hqh.jpg

    So, I tried to add genericons in child theme, then add whole folders but still nothing happened.

    Thanks in advance,
    Bojan

Viewing 14 replies - 1 through 14 (of 14 total)
  • A link to your site could really help in these cases.

    Thread Starter Bojan

    (@bojanbilly)

    I know, but you can’t see anythnig, it’s in the maintenance mode :/
    I’m working on child theme “silently”.

    https://astroriznica.com

    Thread Starter Bojan

    (@bojanbilly)

    Can I post you more print screen pics?

    Sorry this way cannot say what is THE problem.
    You say that with customizr they works, with child not right?
    Assuming you made a child theme in the right way and assuming you didn’t made anything weird in your child-theme functions.php, the problem should be child-theme style.css .
    Wanna post it in pastebin.com maybe?

    Thread Starter Bojan

    (@bojanbilly)

    Ok, I will turn off maintenance mode, so you can see what’s going on.
    It’s a little mess (no header and menu colors and so)

    I can see those social icons now.

    Did you copy the whole blue.css in your child theme style.css ?

    Thread Starter Bojan

    (@bojanbilly)

    I see them too in Chrome, but not in Mozilla. Ok, that’s not a problem.
    Sorry for bothering you, thank you for your quick help ??

    Thread Starter Bojan

    (@bojanbilly)

    Yes I did.
    I have to change that, to make style.css only with changes I have made

    Oh no np, I see some errors in google-chrome console, about fonts

    Thread Starter Bojan

    (@bojanbilly)

    Can I fix them?

    @bojanbilly, don’t do that. That’s the reason of fonts problem you see this?

    @font-face {
      font-family: 'entypo';
      src: url('fonts/fonts/entypo.eot');
      src: url('fonts/fonts/entypo.eot?#iefix') format('embedded-opentype'), url('fonts/fonts/entypo.woff') format('woff'), url('fonts/fonts/entypo.ttf') format('truetype'), url('fonts/fonts/entypo.svg#genericonsregular') format('svg');
      font-weight: normal;
      font-style: normal;
    }

    That is in your wrong child theme style.css .
    What means? That it looks for those fonts in the dir "styles.css_dir"/fonts/fonts/ and so on. But those files are in customizr/inc/css/fonts/fonts/.

    The child theme will be loaded after the main theme css. That way you can ovveride css rules.
    So what you need is just write new rules in your child-theme style.css

    Download it here, and start doing your custom rules.

    https://www.themesandco.com/customizr/how-to-customize-customizr-wordpress-theme/

    Thread Starter Bojan

    (@bojanbilly)

    I see what’s wrong. Once again, thanks a lot!

    ??

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Icons in child theme’ is closed to new replies.