• I’m moving a page from TYPO3 to WordPress. The website is https://promotennis.ch. The one I created with WordPress looks almost the same. I used the same css and html code and put it in the child theme of Twenty Twelve in header, footer, index.php and style.css. The only thing that bothers me is the menu in the header. When you click the different pages from Home to Angebote to Sponsoring the background color gets darker. On my WordPress version it stays dark on Home, even on a different page. I already informed myself about this and apparently there needs to be JavaScript code for the menu to work exactly the same.

    This is the html code I put inside header.php:

    <div class="Headermenubox">
        <ul class="navigationboxL">
            <li><a class="aktuell" title="Home" href="http://ten.nis">| Home</a></li>
            <li><a title="Angebote" href="http://ten.nis/?page_id=29">| Angebote</a></li>
            <li><a title="Sponsoring" href="http://ten.nis/?page_id=31">| Sponsoring</a></li>
            <li><a title="Anmelden" href="">| Anmelden</a></li>-->
            <li><a title="Partner" href="http://ten.nis/?page_id=33">| Partner</a></li>
            <li><a title="Showroom" href="http://ten.nis/?page_id=35">| Showroom</a></li>
            <li><a title="Kontakt" href="http://ten.nis/?page_id=37">| Kontakt</a></li>
            <li><a title="Impressum" href="http://ten.nis/?page_id=39">| Impressum</a></li>
        </ul>

    The full css code is accessable at view-source:https://www.promotennis.ch/StyleSheet.css for Firefox.

    I haven’t worked with JavaScript before, so if there’s any needed, any help with it is gladly appreciated.

    • This topic was modified 4 years, 11 months ago by Rin.
    • This topic was modified 4 years, 11 months ago by Rin.
  • The topic ‘Changing background of custom header’ is closed to new replies.