Support » Theme: iContent » The Dropdown menu does not work

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Andrew Nevins

    (@anevins)

    Deactivate all plugins to explore whether any could be responsible.

    still not working :/

    Moderator Andrew Nevins

    (@anevins)

    I can still see plugins active, are you sure you deactivated them all?

    first I deactivate them all, when I saw what the problem is still there, I turn them on again… Do you need them deactivated?

    Theme Author Brian Harris

    (@zgani)

    @sonicxxx – yes could you please deactivate all plugins so that I can take a look to see what is causing the issue.

    If you compare your current sources code with the demo’s source code at: http://www.wpstrapcode.com/icontent/ you’ll see that there is a lot style code being output(printed) in the head of your site – how and why is the style printed as it is?

    Theme Author Brian Harris

    (@zgani)

    Actually taking a closer look at your footer shows that your edits are incorrect and they are causing the bootstrap.min.js to not run.

    This is the original footer code

    <div id="footer">
    	<div class="container">
    	  <footer id="colophon" class="site-footer" role="contentinfo">
    		 <div class="site-info center-float">
    						<a href="http://wordpress.org/" title="A Semantic Personal Publishing Platform" rel="generator">Proudly powered by WordPress</a>
    			<span class="sep"> | </span>
    			Theme: iContent by <a href="http://www.wpstrapcode.com" rel="designer">WP Strap Code</a>.		 </div><!-- .site-info -->
    	  </footer><!-- #colophon -->
        </div>
    	</div>
    </div><!-- #page -->
    <script type='text/javascript' src='http://www.wpstrapcode.com/icontent/wp-content/themes/icontent/js/bootstrap.min.js?ver=1.0'></script>

    And this is your footer code:

    <div id="footer">
    	<div class="container">
    	  <footer id="colophon" class="site-footer" role="contentinfo">
    		 <div class="site-info center-float">
    			<div
    style="clear:both"></div><h3><p>Kit Xenon | Xenon Φώτα | Φώτα Xenon</p></h3><p
    class="copyright">© XenonKit.gr 2013 by <a
    href="http://www.facebook.com/vadim.sert" target="_blank">Sert Vadim</a></p></div></div><script type="text/javascript">
    		 </div><!-- .site-info -->
    	  </footer><!-- #colophon -->
        </div>
    	</div>
    </div><!-- #page -->
    <script type='text/javascript' src='http://xenonkit.gr/wp-content/themes/icontent/js/bootstrap.min.js?ver=1.0'></script>

    As you can see it is broken – you have this extra <script type="text/javascript"> that is doing nothing and you are closing divs in the wrong place.

    Please do not edit the original files – all edits should be done via a child theme.

    @zulfikar Nore
    You write. I have replace the code and all works correctly. Tanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The Dropdown menu does not work’ is closed to new replies.