Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Shopify Community Downtime: The Shopify Community will be down December 5th for 15 minutes between 3pm and 4pm EST. Thank you for your understanding.

Make language selector fixed in posiiton

Make language selector fixed in posiiton

Luxluxlux360
Excursionist
30 0 6

Hi,

 

I want the language selector to be fixed and not. Move on scroll. My site is https://lux360.net

 

314A6C25-17CF-4863-8F57-4B4A4BE7CCB2.jpeg

Reply 1 (1)

EvinceDev
Shopify Partner
121 13 13

Hello @Luxluxlux360 , try this 

<div class="language-selector" >
    <form action="" method="get" >
        <select name="locale" onchange="this.form.submit()">
            <option value="en">English</option>
            <option value="es">Español</option>
            <option value="fr">Français</option>
            <option value="de">Deutsch</option>
            <!-- Add more languages as needed -->
        </select>
    </form>
</div>


.language-selector {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 11111;
    background: #fff;
    height: 40px;
}

EvinceDev_0-1730813998285.png

Add this code inside sub-footer like this given in screnshot above.

Shopify Theme Advanced Backend Developer and Debugger
Want to modify or develop new app, Hire us.
If our Answer is helpful then please Like and Accept Solution!
I am an eCommerce and Marketing Technology consultant based in India.
To inquire about consulting work availability, You can reach me on Skype by live: rahul.evince or mail on partners@evincedev.com.
Shopify Apps URL :- https://apps.shopify.com/partners/gemfind1
Customization on Shopify Theme | Shopify App Development | SEO & Digital Marketing