mac Posted January 11, 2013 Report Posted January 11, 2013 I would like to put a welcome area on my front page in a set area like left uper, so i stays and i dont have to use news for it Thanks Mac Quote
Strider Posted January 12, 2013 Report Posted January 12, 2013 Not that hard, you will need CSS, and some div tags, then within thos div tags you can type what you please. 1 Quote
flyalaska Posted January 12, 2013 Report Posted January 12, 2013 This what I used to show the newest pilots. You can alter it to show a welcome message. CSS - goes in your skins css file. .clean-welcome{ border:solid 1px #349534; background:#C9FFCA; color:#008000; font-weight:bold; padding:4px; text-align:center; } Place the code below where you want to display the message <div class="clean-welcome"> <?php $newpilot = PilotData::getLatestPilots(1); ?> Welcome Alaska Adventures Newest Pilot:<?php foreach ($newpilot as $pilot) { echo $pilot->firstname.' '.$pilot->lastname.' ('.PilotData::getPilotCode($pilot->code, $pilot->pilotid).')'; } ?> </div> Quote
mac Posted January 12, 2013 Author Report Posted January 12, 2013 I under stand the code above if you look at my site www.maexpressva.com on the page is the welcome to maexpressva in red how do i change color and words. Quote
Strider Posted January 12, 2013 Report Posted January 12, 2013 In the css, change the color of the H3 tag, and it will change it to whatever color you choose. Quote
mac Posted January 12, 2013 Author Report Posted January 12, 2013 I under stand how to change color, how do you change words that are typed there. Quote
Strider Posted January 14, 2013 Report Posted January 14, 2013 Just delete the text that is written there, and put in what you want. It isn't rocket science. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.