I am using drupal built in search block. But the search block's search text box (where we type keyword) is bit small. How can I make it bigger(the search text box).

Comments

Garrett Albright’s picture

You can add a CSS file to your theme (or modify a pre-existing CSS file) to add CSS to change the size of the search box (or anything else).

If you don't know how to use CSS, I'm afraid you'll have to learn that first.

jebernier’s picture

I believe this is the section in style.css ( for corolla theme) that I need to modify, but not sure how:

* Layout
*/
#main-wrapper,
#sidebar-first,
#sidebar-second {
float: left; /* LTR */
}
#header-menu,
#header,
#main-columns {
margin: 0 auto;
}
/* Column width */
body.two-sidebars #main-wrapper {
width: 85%;
}
body.two-sidebars #sidebar-first,
body.two-sidebars #sidebar-second {
width: 15.0%;
}
body.one-sidebar #main-wrapper {
width: 70%;
}
body.one-sidebar #sidebar-first,
body.one-sidebar #sidebar-second {
width: 29.7%;
}
body.no-sidebars #main-wrapper,
body.page-admin #main-wrapper {
width: 100%;
}
/* Spacing between columns */
#main-wrapper #main,
#sidebar-first .region,
#sidebar-second .region {
margin: 0 10px;
}

angelopaixao’s picture

Hello.
Recently I started using drupal and my lack of knowledge is not very good to solve this problem.

Here`s my question.
How can I change this html code

to this

print render($page ['header']);

Sorry but i couldn`t find the answer in this forum.

Regards,
Ângelo Paixão