• Resolved kasperbek

    (@kasperbek)


    I have an issue with the Virtue: SocialLInks widget.

    I’m using a child theme of your theme. But when i add the Social Links widget, the selected social media shows up without the FontAwesome icons… It only shows a grey square..

    It seems like the theme has a problem finding the FontAwesome font… I’ve tried adding the font in my child theme using @font face in my style.css, but with no luck…

    im pretty sure it is a problem with my child theme, just not sure what. because the icon shows up if i do the same thing through the original theme – Virtue.

    btw. im working through localhost..

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hey,
    What are you adding in your child theme? Are you doing more then just a css file?

    Kadence Themes

    Thread Starter kasperbek

    (@kasperbek)

    I’ve modified the header, so i could add my own widget area to the topbar.. And i’ve added the widgets.php where i changed the original topbar widget, to my own..

    i’ve placed the files in my child theme like this:
    The header is in /templates/header.php
    the widget is in lib/widgets.php

    Hey,
    ok so that would probably cause the issue. Functions files don’t work exactly like template files and it’s really best not to “override” a parent theme function file, since widgets is just an extension of the functions.php file it is not the type of file you want to copy (note that it can work but it’s more prone to issues especially with updates. What would be best is to create a new function for a custom widget or setting. But the icons showing as a square could be a possible css fix so if you can make your site live I can at least look at that.

    Kadence Themes

    Thread Starter kasperbek

    (@kasperbek)

    Hi..
    Thanks for the help. Much appreciated!
    I’ve solved the problem. It wasn’t because of my .php files. It was a simple error in my .css

    Thanks for help anyway 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Virtue: Social links widget problems’ is closed to new replies.