ThemeShaper Forums » Thematic


Integrating css into my theme

(3 posts)
  • Started 8 years ago by Hotmatic
  • Latest reply from Hotmatic
  • This topic is resolved


  1. Hotmatic

    Hi, I'm using Thematic and a child theme autofocus+ ( I've hit a wall in trying to integrate this code into my theme:

    Any pointers would be appreciated, it's probably a really easy problem to solve, as I'm a beginner, I've checked through the guides and resources on here and on other website, its just confusing as to where everything should go. I want the button to be displayed on every page of my blog. I guessed I should insert the style directly into my child themes stylesheet but then I have no idea where to put the <div id="suggestPost"></div> . Do I need to create a function for it?

    Posted 8 years ago #
  2. Yes the CSS should go in your child them's style.css and something like this needs to go in the child theme's functions.php:

    function my_tab() { ?>
    	<div id="suggestPost"><a href="#" >My Tab</a></div>
    <?php }
    Posted 8 years ago #
  3. Hotmatic

    Thanks so much, I made some other changes to it too and now it works perfectly, but it would of taken me ages to understand adding that function properly without your help.

    Posted 8 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.