Youtube is pretty famous, especially on blog/websites, many have youtube accounts/channels..
So it would be nice for it to be an option in the theme settings. At the moment there are several well known, including pinterest which I don't use. But not youtube.

Thanks.

Comments

lastar84’s picture

A quick and dirty workaround is to download a 32x32 YouTube icon png and throw it in your sites/default/files folder. Then go to the page.tpl.php file in the theme folder (or your subtheme folder, if you're following best practices) and look for the HTML list with an ID of "header-social." Hard code in a new list-item with the appropriate YouTube link, and direct "img src" to the YouTube icon. You may want to add the (deprecated) target="_blank" attribute to that link, just so it behaves like the other social icons in the list. And while you're in there, you can also reorganize your list so the icons appear in the order that you want. Upload your revised page.tpl.php file to your website, and if you have caching turned on, you may need to clear caches to refresh the view.

Some like the convenience of having click-on click-off features like this, but I tend to take these sort of features completely out of my subthemes, and then I hardcode them in as described above. Turning on or off social media links is not a feature that my clients need in their content management bag.

alliax’s picture

Thank you, that's what I did at first but then there was an update to the template and I couldn't be bothered to do it again, that's why I opened this issue so that the maintainer can add it per default, youtube is not so unknown :-)

I agree that I would prefer a region at this place and make the social icons myself in a block, but since the maintainer choosed to put that theme option, he should go the extra mile and add a minimum of the most known. I think linkedin too, etc.. But yes it doesn't matter, I wouldn't classify my issue as important, just a suggestion to the maintainer.