WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You

WebArtz - The Web Design Forum
Welcome to WebArtz, Guest!

WebArtz is a nice place for discussions related to web designing and coding. We help our members to code their own website templates with HTML and CSS. We give them advice on various issues.

To know more about WebArtz Forum, visit the About Us page.

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum.

Thank You


You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1Altering CSS for a topbar? Empty Altering CSS for a topbar? Tue Oct 12, 2010 1:43 am

Josh

Josh
Registered Member
Registered Member
Hello!

Ankillien originally gave me this code for a topbar on my forum. It works awesome, but I was wondering if it was possible to alter it to be fixed at the bottom of the forum? (Not as a footer, but fixed at the bottom of the viewer's screen as they scroll up/down -- Like it is currently for the top.)

Here current the code: (A div class is assigned to it on my announcements box; so it appears on every page. The top block of code is for the image and the three others are for links.)


Code:
.webartz_topbar {
opacity : 100%;
z-index: 999;
width : 100%;
height : 40px;
position : fixed;
top : 0px; left : 0px;
background : url(http://i266.photobucket.com/albums/ii247/Kab0000m/Josh/Navbar.png) no-repeat center top;
}
.webartz_links {
float : none;
color : #FFF;
padding-top : 8px;
text-align : center;
}
.webartz_links a {
background : none;
color : #FFF !important;
text-decoration : none;
font-weight : bold;
padding : 3px;
}
.webartz_links a:hover {
background : #EEE;
color : #333 !important;
-moz-border-radius : 5px;
-webkit-border-radius : 5px;
}

Thanks for any help! Smile
-Josh

2Altering CSS for a topbar? Empty Re: Altering CSS for a topbar? Tue Oct 12, 2010 1:48 am

Guest


Guest
Let me try ;D

try this:
Code:

.webartz_topbar {
opacity : 100%;
z-index: 999;
width : 100%;
height : 40px;
position : fixed;
bottom : 0px; left : 0px;
background : url(http://i266.photobucket.com/albums/ii247/Kab0000m/Josh/Navbar.png) no-repeat bottom top;
}
.webartz_links {
float : none;
color : #FFF;
padding-top : 8px;
text-align : center;
}
.webartz_links a {
background : none;
color : #FFF !important;
text-decoration : none;
font-weight : bold;
padding : 3px;
}
.webartz_links a:hover {
background : #EEE;
color : #333 !important;
-moz-border-radius : 5px;
-webkit-border-radius : 5px;
}

3Altering CSS for a topbar? Empty Re: Altering CSS for a topbar? Tue Oct 12, 2010 1:51 am

Josh

Josh
Registered Member
Registered Member
Hi Gangsta15,

after changing the height to 30px, it works great. Thanks! (Problem solved)



Last edited by Josh on Tue Oct 12, 2010 1:58 am; edited 1 time in total

4Altering CSS for a topbar? Empty Re: Altering CSS for a topbar? Tue Oct 12, 2010 1:52 am

Guest


Guest
Woah ;D Good No problem Razz

5Altering CSS for a topbar? Empty Re: Altering CSS for a topbar? Tue Oct 12, 2010 7:23 pm

ankillien

ankillien
Administrator
Administrator
Solved | Locked

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum