• Resolved katemegill

    (@katemegill)


    I have the child theme installed and I want to have a pop out on hover on one of my pages. I was reading a tutorial and they said I needed to put this code:

    <link rel=”stylesheet” href=”style.css” type=”text/css”>
    <script src=”mouseover_popup.js” language=”JavaScript”
    type=”text/javascript”></script>

    in the HEAD section of my page I want it on and this code:

    <div style=”display: none; position: absolute; z-index: 110; left: 400; top: 100; width: 15; height: 15″ id=”preview_div”></div>

    right after the body.

    The problem is, on the child theme, I’m not sure where to put it. Do I just put it at the bottom of the coding that I already put on it?

    And if this is not a question you answer on this forum, I understand. I just thought I’d check.

Viewing 1 replies (of 1 total)
  • Because this is a modification of the theme, you will need to copy the header.php from the parent theme into the child theme. Then you can add the code that you posted. You will want to make sure the header.php file is in the same location that the parent theme has it…basically where you see the style.css file.

Viewing 1 replies (of 1 total)
  • The topic ‘where to put code for pop out’ is closed to new replies.