Author Topic: Footer Navigation/Links  (Read 1966 times)

Offline Hally_89

  • Full Member
  • ***
  • Posts: 181
  • Photoshop Beginner
    • HallyNet
Footer Navigation/Links
« on: Nov 06, 2011, 05:09:46 »
I was recently looking for help creating a footer navigation/Site map but no-one seemd to know how to do it so i decided to go playing with code and make my own one. I have coded it myself to get my own desired effect. I decided I would share it with everyone. I made this on a HTML document so it may need to be adapted to work with SM forums.
The code is pretty straight forward but may be a bit messy as I am still learning.

What the footer looks like



The CSS code is as follows:
Code: [Select]
<style type="text/css">
#footer-container { /* Footer CSS Start */
    margin: 0 auto;
    padding: 10px 0;
    width: 920px;
}
.footer {
height: 300px;
}
.footer {
background-image:url(images/footerbg.png);
background-repeat:repeat-x;
color:#FFF;
position: relative;
    text-align: left;
    width: 100%;
}
#footer .first {
    width: 250px;
padding-bottom: 20px;
}
#footer .col {
    float: left;
    margin-right: 30px;
unicode-bidi: embed;
display:block;
}
#footer .second {
    width: 260px;
}
#footer .third {
    float: right;
    width: 260px;
}
#qvposts {
    list-style: none outside none;
    margin: 0;
    padding: 0 !important;
    width: 250px;
}
.clear {
    clear: both;
}
ul, li {
padding-bottom: 20px;
}
#footer h5 {
    border-bottom: 2px solid #FFFFFF;
    color: #FFFFFF;
    font-family: 'PT Sans Narrow',arial;
    font-size: 140%;
    font-weight: bold;
    letter-spacing: -0.01em;
    line-height: 1em;
    margin: 10px 0 15px;
    padding-bottom: 5px;
} /* Footer CSS Finish */
</style>

The HTML code is as follows:
Code: [Select]
<body>
<div id="footer" class="footer"><!-- Page Footer Main -->
    <div id="footer-container">
       
    <div class="col first">
        <h5>Site/Owner Description</h5>
                <img alt="Image of your choice" src="http://cdn.dejanseo.com.au/wp-content/uploads/2011/05/image-optimisation.jpg">
            <p><strong>Brian</strong>
is a web designer and this has been adapted from other sites to create a footer navigation that can be used on your website .
                </p>
                <p>Feel free to
<a href="http://www.Hallynet.com">say hi</a>
to me, or follow
<a target="_blank" href="http://twitter.com">@myfooter</a>
on twitter.
</p>
        </div>
           
            <div id="qvposts" class="col second">
            <h5>Links Of Interest</h5>
                <li>
<a href="http://www.google.com" target="_blank">Link1</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link2</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link3</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link4</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link5</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link6</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link7</a>
<div class="clear"></div>
</li>
            </div>
           
            <div id="qvposts" class="col third">
            <h5>Helpfull Websites</h5>
                <li>
<a href="http://www.google.com" target="_blank">Link1</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link2</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link3</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link4</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link5</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link6</a>
<div class="clear"></div>
</li>
                <li>
<a href="http://www.google.com" target="_blank">Link7</a>
<div class="clear"></div>
</li>
            </div>
           
        </div>
</div><!-- Page Footer End -->
</body>

If you could reference me when using the code it would be great as it took me quite a while to get right and I am giving this to you as open source to use as you wish. My website is http://www.hallynet.com which is currently under construction so not accessable at the moment.

Thanks
Brian
« Last Edit: Nov 06, 2011, 16:16:45 by Hally_89 »


Offline ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5656
  • Civilian Support
    • Files4Design
Re: Footer Navigation/Links
« Reply #1 on: Nov 06, 2011, 09:12:34 »
Looks interesting. I have a family thing today but will take this for a test run a bit later. Thanx Hally.  ;)
I no longer work here. Please stop sending me messages asking for premium theme support. That is what the Support Boards are for. Thank You!

Offline Hally_89

  • Full Member
  • ***
  • Posts: 181
  • Photoshop Beginner
    • HallyNet
Re: Footer Navigation/Links
« Reply #2 on: Nov 06, 2011, 09:24:32 »
Looks interesting. I have a family thing today but will take this for a test run a bit later. Thanx Hally.  ;)

Thanks mate. Got tired of looking for the code so decided to put my head down and make my own which worked out very well in the end and is very customisable which is exactly what I waned to achieve.


Offline Hally_89

  • Full Member
  • ***
  • Posts: 181
  • Photoshop Beginner
    • HallyNet
Re: Footer Navigation/Links
« Reply #3 on: Nov 06, 2011, 16:17:22 »
Code changed slightly to improve a few things and example image also added

Brian


Offline agent47

  • Support Team
  • Hero Member
  • *
  • Posts: 821
  • At your service?
    • Superhero Alliance
Re: Footer Navigation/Links
« Reply #4 on: Nov 06, 2011, 20:05:26 »
Nice of you to share this.
I'm sure quite a few people will find this useful.

Wedge is the way to go

Offline Hally_89

  • Full Member
  • ***
  • Posts: 181
  • Photoshop Beginner
    • HallyNet
Re: Footer Navigation/Links
« Reply #5 on: Nov 07, 2011, 03:41:53 »
Nice of you to share this.
I'm sure quite a few people will find this useful.

No problem mate. Its basic enough but a few CSS edits will make an awful difference


Offline Arantor

  • Hero Member
  • *****
  • Posts: 827
Re: Footer Navigation/Links
« Reply #6 on: Nov 07, 2011, 04:03:29 »
When you want help, I'm likely to ask you questions. It's not because I'm a stubborn pain in the backside, it's because I need that information to actually be *able* to help you. Sooner you provide it, sooner you get help, simple as that.

Offline Hally_89

  • Full Member
  • ***
  • Posts: 181
  • Photoshop Beginner
    • HallyNet
Re: Footer Navigation/Links
« Reply #7 on: Nov 07, 2011, 08:10:36 »
Hmm, reminds me of http://custom.simplemachines.org/mods/index.php?mod=2966

Ya looks a small bit similar to that but mine isnt a mod its just the code so that it can be added to any website whether its an smf forum or not  :)


Offline ARG

  • GFX Designer
  • DS Friend
  • Hero Member
  • *
  • Posts: 5656
  • Civilian Support
    • Files4Design
Re: Footer Navigation/Links
« Reply #8 on: Nov 07, 2011, 08:23:29 »
Hmm, reminds me of http://custom.simplemachines.org/mods/index.php?mod=2966

Oddly enough my code result in almost the same look visually but mine is also added code and not a mod.  ;)
I no longer work here. Please stop sending me messages asking for premium theme support. That is what the Support Boards are for. Thank You!

Offline Arantor

  • Hero Member
  • *****
  • Posts: 827
Re: Footer Navigation/Links
« Reply #9 on: Nov 07, 2011, 09:15:40 »
*shrug* I can add that to SMF 2 without any changes to any files at all, but that's another story... Just it looked similar is all.
When you want help, I'm likely to ask you questions. It's not because I'm a stubborn pain in the backside, it's because I need that information to actually be *able* to help you. Sooner you provide it, sooner you get help, simple as that.