WordPress.org

Ready to get started?Download WordPress

Forums

iContent
[resolved] The Dropdown menu does not work (8 posts)

  1. SonicxXx
    Member
    Posted 1 year ago #

    The Dropdown menu don't work... I have try to enable the zipped plugins but... the problem is still there... the site witch is using this theme is http://xenonkit.gr
    thnx...

  2. Andrew
    Forum moderator
    Posted 1 year ago #

    Deactivate all plugins to explore whether any could be responsible.

  3. SonicxXx
    Member
    Posted 1 year ago #

    still not working :/

  4. Andrew
    Forum moderator
    Posted 1 year ago #

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

  5. SonicxXx
    Member
    Posted 1 year ago #

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

  6. Zulfikar Nore
    Member
    Theme Author

    Posted 1 year ago #

    @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?

  7. Zulfikar Nore
    Member
    Theme Author

    Posted 1 year ago #

    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.

  8. SonicxXx
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic