Replacing searchbar with an image! |
Replacing searchbar with an image! |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 2 Joined: May 2008 Member No: 653,129 ![]() |
I would like to know what code to have an image where the search bar originally is, which is above the blog only, not the modules.
Thanks for any help recieved! :] |
|
|
![]() |
![]()
Post
#2
|
|
![]() torn ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 953 Joined: Oct 2004 Member No: 55,718 ![]() |
Well, the search bar has the class ".search"
Try this: CODE <style type="text/css"> .searchtext, .searchop, .searchsubmit {display: none;} table.search {width: ###px; height: ###px; background-image: url(URL HERE); background-repeat: no-repeat; background-position: top left; background-color: none; cellpadding: 0; cellspacing: 0; margin: 0;} </style> The first part will hopefully get rid of the search input, dropdown menu, and the "Search" button. In the second part, replace URL HERE with the URL of the image you want, and you can change the repeat and position of the image as necessary, as well as the background color. Oh, and you can edit the width and height of the bar by replacing the ###s with actual numbers. I haven't tried this code out; I just studied the default Xanga source code, so if it doesn't work, tell me and I'll see what I can do. |
|
|
![]() ![]() |