The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How Can I remove the default search bar?

View previous topic View next topic Go down

Solved How Can I remove the default search bar?

Post by indaymadel on 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 do I remove that search bar? I can't find it in Administration Panel.


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 on 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
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!

http://forumdesigners.forumotion.com/

Back to top Go down

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

Post by indaymadel on 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;
}

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 on 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
ForumGuru

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

http://webartzforum.com

Back to top Go down

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

Post by indaymadel on 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.

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 on October 1st 2010, 8:38 am

Since this thread is marked solved, I will lock this thread.


Sanket Smile


Sanket
ForumGuru

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

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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