Jump to content

How to center the language dropdown box


xex

Recommended Posts

Can anyone tell me how to center the language dropdown box to the middle of the shopping cart/checkout areas?

 

I moved it to the left top of the page when many customers complained they couldnt/didnt see it until they had already ended up going through checkout in the default English, which as you know cause all of their future interactions (email contact/everything) to be carried out in that language. But unfortunately the language dropdown menu itself is in English and so my Japanese customers eyes just miss it and then they later complain that all correspondence is in English.

 

I would LOVE to attach bells and blinking lights to it so they can't miss it anymore but I don't think it is possible so I will settle for centering it on the page.

 

The code in header.tpl is as follows:

 

{if $langchange}<div id="languagechooser">{$setlanguage}</div>{/if}

 

but i am guessing I cant just type "center" before this code on that line. I am not a programmer and usually do things like this in Dreamweaver by clicking a button.

 

Can anyone help?

 

Thanks!

 

Xex

Link to comment
Share on other sites

Hard to post after a Staff member, but I also would try

 

{if $langchange}

<div id="langWrap">

<div id="languagechooser">{$setlanguage}</div>

</div>

{/if}

 

And add also other styles (bells, and whistles), maybe just a different background, in whmcs.css to make it more visible.

i.e check these

http://stackoverflow.com/questions/4450344/how-to-blink-a-div-in-jquery

http://jsfiddle.net/gaby/Vaysf/1/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated