Position gTranslate right justified in header

Popular automatic website translation tool

Position gTranslate right justified in header

Postby mstolp » Wed Dec 14, 2011 6:34 am

Edvard, please see http://cnusa.co.

I want to locate the Flags & Language Drop-Down right justified in the header (to the right of the logo).

I located the script in the header.php, which function seems to be working properly.

I am trying to use CSS code to locate the Flags & Language Drop-Down right justified in header.

Here is the present CSS code.
Code: Select all
#header { position: relative;}

#header select {
  position: absolute;
  right: 20px;
  top: 100px;
}


As you can see the Flags are located left, and the Language-selector Drop-Down is to the right.

Any suggestions how to also locate the Flags above the Language Drop-Down? Thanks Edvard.

Mike
mstolp
 
Posts: 6
Joined: Mon Nov 28, 2011 5:35 am

Re: Position gTranslate right justified in header

Postby mstolp » Wed Dec 14, 2011 9:42 am

I tweaked the CSS code a bit, and now it looks and works acceptably.

Here is the present CSS code.

#header select {
right: 20px;
top: 260px;
}
a.gflag {
float: right;
}

#header { position: relative;}

#header select {
position: absolute;
right: 30px;
top: 260px;
}


Stumbling my way through.
Mike
mstolp
 
Posts: 6
Joined: Mon Nov 28, 2011 5:35 am

Re: Position gTranslate right justified in header

Postby Edvard » Wed Dec 14, 2011 11:38 pm

Good to hear that you have found a solution!
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux