The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

footer links not working when use include

  • # September 9, 2013 at 7:09 am

    Hi my footer links are not working when I have include it in my index.php or other files only my header links working.

    my common/footer.php

    <div class="container">
    <div class="row">
    <div class="col-xs-6 col-sm-6 col-md-3 col-lg-3">
    <h4 class="line3 center"><span>Navigation</span></h4>
    <ul class="footer-links">
    <li><a href="#">Home</a></li>
    <li><a href="">Contact Us</a></li>
    <li><a href="#">About Our Company</a></li>

    This is in my index.php

        <?php include'common/header.php'; ?>
        <div class="container">
        <div class="row">
        <div style="z-index:1020" class="col-xs-12 col-sm-4 col-md-4 col-lg-4 pull-left">   
        <div class="panel panel-default">
        <div class="panel-heading">
        <h4>Hosting Provider</h4>
        <div class="panel-body">
        </div> <!-- Container Div -->
        <?php include'common/footer.php'; ?>
    # September 9, 2013 at 7:34 am

    It’s becaase your div containing the copyright is inside the div with a class of row so it’s sitting on top of the others.

    Move it out of the row div…since it’s 100% wide anyway and it’s fine.

    # September 9, 2013 at 7:56 am

    Thank you going to be going to a course soon cost a lot of money for courses but over here goverment pay for it unless you earn over $51.000 which I don’t yet course is $25.000

    I am still learning html nearly and end of it few heralds to go then php and javascript.

    Is that best way to learn

    Trying to learn as much as i can before had thats why closed computer store.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed