Vasily Posted July 2, 2014 Share Posted July 2, 2014 I'm trying to implement a custom css style for each of the K2 templates. I wrote a com_K2 override. I add this string to a K2 template php files <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template; ?>/html/com_k2/templates/default/k2c.css" type="text/css" /> but it adds itself in the body of the page. Is there a way to put this string into <head> tag? I'm not savvy in PHP, so any advice would be appreciated Quote Link to comment https://forums.phpfreaks.com/topic/289378-php-string-in-the-headerjoomla-k2/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.