On my homepage to the right of the search box is a drop-down with a list of categories. Is it possible to remove that from the search bar, or would I have to remove the search bar altogether? I attached an image of what I'm talking about. The drop down says "All Categories".
Attachments
search.png (21.19 KiB) Viewed 1354 times
The easiest way is to just hide it using CSS rules. use the code inspector on your browser to find the name of the div that is holding it. Then add the code like this:
div.addthenamehere {
display:none;
}
if it is an ID rather than a class it would be
#addthenamehere {
display:none;
}
Be careful that the name of the div isn't shared by other divs as it will then hide all of them. Another alternative is to go into the code for that page and either comment the section out, or just delete it.
Always do a full back-up of the page BEFORE you do any code changes, so you can just put it back how it was if it goes wrong.
div.addthenamehere {
display:none;
}
if it is an ID rather than a class it would be
#addthenamehere {
display:none;
}
Be careful that the name of the div isn't shared by other divs as it will then hide all of them. Another alternative is to go into the code for that page and either comment the section out, or just delete it.
Always do a full back-up of the page BEFORE you do any code changes, so you can just put it back how it was if it goes wrong.
Who is online
Users browsing this forum: CD-Nico and 50 guests