The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How Can I remove the default search bar?

3 posters

Go down

Solved How Can I remove the default search bar?

Post by indaymadel September 30th 2010, 5:48 pm

I have already inserted a customized google search bar in my forumotion website (website link on my signature), now I wanted to remove the default search bar as shown in my screenshot (encircled with red pen):

How Can I remove the default search bar? Removesearch

How do I remove that search bar? I can't find it in Administration Panel.

avatar
indaymadel
New Member

Female Posts : 12
Reputation : 0
Language : English

Back to top Go down

Solved Re: How Can I remove the default search bar?

Post by Maki1 September 30th 2010, 8:08 pm

Hello,

This code works for phpBB3 => A-CP => Display => Pictures and Colors >> Colors >> CSS Stylesheet and submit.

Code:
#page-header #search-box {
display: none;
}
Maki1
Maki1
Hyperactive

Male Posts : 2529
Reputation : 442
Language : English »» CSS Stylesheet
Location : The » Support » forum » Section! • No support by PM If you need custom theme please contact me!

Back to top Go down

Solved Re: How Can I remove the default search bar?

Post by indaymadel October 1st 2010, 3:16 am

Maki1 wrote:Hello,

This code works for phpBB3 => A-CP => Display => Pictures and Colors >> Colors >> CSS Stylesheet and submit.

Code:
#page-header #search-box {
display: none;
}

Code have no effect. I inserted it in the last line of my CSS Stylesheet.
Here's how my CSS Stylesheets looked like:
Code:

{
position:absolute;
top: (new X position);
left: (new y position);
}

---

ul.navlinks a img:hover {

filter:alpha(opacity=50);
-moz-opacity:0.5;
-khtml-opacity: 0.5;
opacity: 0.5;
}



.second_nav {
        padding: 0 0 0 0;
        background-image: url('');
        border-color: transparent;
        width:98%;
        }

/* Modules-------------------------------------------------*/
.module {
margin-bottom: 4px;
padding: 0 10px;
background-image: url('http://i191.photobucket.com/albums/z301/lastfmbadges/a1/barpol.png');
background-repeat: repeat-x;
background-color: #393939;
color: #fffff5;
}

}


/* Chatbox-------------------------------------------------*/
body.chatbox {
   background-image: none;
   }
.chatbox {
   background-color: #000000;
   }
#chatbox_header {
   height: 30px;
   background-color: #00000;
   }
.chatbox .forabg {
   margin: 0;
   border: none;
   padding: 0;
   margin: 0;
   background-color: #00000;
   }
.chatbox-title,.chatbox-title a.chat-title {
   color: #ffffff !important;
   }
.chatbox-title {
   float: left;
   margin: 0;
   padding: 2px 5px 0 5px;
   width: 15em;
   }
.chatbox-options {
   float: right;
   list-style: none;
   font-size: 11px;
   margin: 0.7em 0.5em 0.5em 0.5em;
   }
.chatbox-options li {
   display:inline;
   }
.chatbox-options li,.chatbox-options li a,.chatbox-options li label {
   color: #ffffff;
   }
#chatbox_members {
   position: absolute;
   top: 30px;
   bottom: 30px;
   width: 180px;
   overflow: auto;
   border-right: 1px solid ;
   }
#chatbox_members .member-title {
   text-align: center;
   padding: 0.5em 0.25em;
   background-image: none;
   font-size: 12px;
   background-color: #000000;
   color : #ffffff;
   font-family: Verdana,Arial,Helvetica,sans-serif;
   }
#chatbox_members ul {
   list-style: none;
   margin: 0 0 0 1em;
   }
#chatbox_members ul li {
   margin: 0.5em 0.5em 0.5em 0;
   }
#chatbox {
   position: absolute;
   top: 30px;
   left: 181px;
   right: 0;
   bottom: 30px;
   overflow: auto;
   line-height: 10px;
   }
.chatbox_row_1 {
   padding: 4px;
   background-color: #00000;
   }
.chatbox_row_2 {
   padding: 4px;
   background-color: #333;
   }
.chatbox_row_3 {
   padding: 4px;
   background-color: #02710e;
   }
.memberlist_row_1 {
   background-color: #00000;
   }
#chatbox_footer {
height: 25px;
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   padding: 5px;
   }
#chatbox_footer label {
   color: #ffffff;
   }
#message,#submit_button{
   border-width: 1px;
   }
.fontbutton {
   padding: 1px;
   cursor: pointer;
   text-align: left;
   }
.fontbutton_normal {
   background: #E1E1E2;
   }
.fontbutton_selected {
   background: #000000;
   border: 1px solid #22229C;
   }
.fontbutton_clicked {
   background: #000000;
   border: 1px solid #22229C;
   }
.fontbutton_hover {
   background: #000000;
   border: 1px solid #22229C;
   }
#chatbox_contextmenu {
   border: 2px solid black;
   background-color: #02710e;
   }
#chatbox_contextmenu p {
   margin:0;
   padding: 1px 4px;
   font-family: verdana, arial, sans-serif;
   background: #000000;
   border-bottom:1px solid #777;
   }
#chatbox_contextmenu p.hover {
   background: #ffffff;
   }
#chatbox_contextmenu p.close {
   background: #ddd;
   padding: 1px;
   font-size: 95%;
   color:#fff;
   background: url('');
   }
#chatbox_contextmenu p.close img {
   vertical-align: middle;
   padding-left: 20px;
   }
#chatbox_contextmenu a {
   color: #ffffff;
    text-decoration: none;
    font-size: 95%;
   }
#chatbox_contextmenu a:hover {
   color: ;
   }
.fontbutton {
   background: #E1E1E2 none repeat scroll 0%;
   border:medium none;
   color:#000000;
   float:left;
   margin-right:10px;
   padding:1px;
   }
#chatbox .user {
   font-weight: bold;
   }
* html #chatbox-members {
#page-header #search-box {
display: none;
}
avatar
indaymadel
New Member

Female Posts : 12
Reputation : 0
Language : English

Back to top Go down

Solved Re: How Can I remove the default search bar?

Post by Sanket October 1st 2010, 5:37 am

Code:
.navbar #search-box {
display : none;
}
Add this to your css, instead of the code Maki provided. For phpbb3, the code provided shall work.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Solved Re: How Can I remove the default search bar?

Post by indaymadel October 1st 2010, 8:31 am

Thanks. Both of your codes work. I have just noticed that the same codes, both codes, does not work on some of the skins. So, I change theme and it works.
avatar
indaymadel
New Member

Female Posts : 12
Reputation : 0
Language : English

Back to top Go down

Solved Re: How Can I remove the default search bar?

Post by Sanket October 1st 2010, 8:38 am

Since this thread is marked solved, I will lock this thread.
How Can I remove the default search bar? 2j4t5a8

Sanket Smile

Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Back to top

- Similar topics

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