Log In · Register

 
 
Closed TopicStart new topic
Replacing searchbar with an image!
Kolourrz
post May 28 2008, 10:53 PM
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! :]
 
emberfly
post Jun 3 2008, 03:28 PM
Post #2


kthxbai
******

Group: Official Designer
Posts: 2,832
Joined: Feb 2008
Member No: 621,203



are you using custom modules? regular modules? are your modules on the left? right?
 
vintage-toile
post Jun 3 2008, 03:30 PM
Post #3


Kissing for yesterday.
*****

Group: Official Designer
Posts: 465
Joined: Sep 2007
Member No: 569,813



^i think they mean a code for a banner above the layout(?)
there is a script for this somewhere in CB scripts (look at the navbar on createblog for scripts, select myspace scripts)
search through there and there should be one for that there.
 
venti-anemoi
post Jun 3 2008, 09:40 PM
Post #4


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.
 
manny-the-dino
post Aug 15 2008, 02:27 PM
Post #5


Senior Member
*******

Group: Administrator
Posts: 8,629
Joined: Jan 2007
Member No: 498,468



Due to this topic being 2 weeks old & the problem being solved, this topic is Closed & Moved. PM me if you'd like for me to open this. _smile.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: