StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 04-15-2010, 11:38 AM
lindebjerg's Avatar
lindebjerg lindebjerg is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Jan 2009
Location: Germany
Posts: 526
Smile Thanks, now I made it work, here my changes:-)

My first try was “on top of the search” in the same div, but had trouble with the language switcher could not open.
Then I started with a separate div “topright”. Your where right about the height, I made the div all simple and adjusted the padding, now it looks perfect and works :-)



like this:

PHP Code:
<div class="headertopright">       
        <?php do_action('icl_language_selector'); ?>
    </div> 
<div class="headerright">
        <form id="searchformheader" method="get" action="<?php echo get_option('home'?>/">
        <input type="text" value="Search this website..." name="s" id="searchbox" onfocus="if (this.value == 'Search this website...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search this website...';}" />
        <input type="submit" id="searchbutton" value="GO" /></form>
    </div>
and my style.css
Code:
.headertopright {
    float: right;
    padding: 10px 50px 10px 0px;
    }
    
.headerright {
    width: 300px;
    float: right;
    margin: 0px;
    padding: 36px 10px 0px 0px;
    text-align: right;
    }
But I have a new question? How can I remove the “round” corners in the search form?
I thought just remove these 3 lines bold, but nothing happens?

Code:
#subbox {
    background: #FFFFFF !important;
    width: 185px;
    color: #222222;
    font-size: 11px;
    font-family: Arial, Tahoma, Verdana;
    font-weight: normal;
    margin: 0px;
    padding: 5px 0px 5px 5px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
    display: inline;
    border: 1px solid #DDDDDD;
    }
 

Tags
header

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Date on header in localized language algiu General Discussion 1 05-13-2010 01:41 PM
Language flags in header.php musikalg General Discussion 2 01-22-2010 04:22 AM
Image Switcher for home page manomalt General Discussion 1 03-30-2009 10:25 AM


All times are GMT -5. The time now is 11:44 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.