[Locked] Language Flags - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

[Locked] Language Flags

MS

Monika Sz

Template 4 months ago

I have a problem with language flags. How can I manage them? I couldn't find any place I can manage them at the template styles. They apear at my site in the middle, between site logo and menu. I would like to have them at right side of my website, after menu. And also I'd like to switch off arrows near them, and the grey background apearing under active language flag.

0
13 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #196310

BTW

To correct "Czas do Konferencji" also on mobile view use also that line

@media screen and (max-width: 680px) {
#countdown-timer > .sppb-col-xs-6 {width: 50%; text-shadow: 0px 1px 2px #035427;}
}

Then there will be two columns and two rows, 2x2 grid. And correct visiblity (contrast) a little bit.

Yes, that one you can use inside Page Settings > Page CSS > Custom CSS

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 months ago #195810

Hello Monika Sz,

Thank you for reaching out to our technical support forum. I’m sorry to hear about the trouble you’re experiencing. Rest assured, I will look into this issue for you and work to resolve it as quickly as possible.

Apology for the inconvenience. Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials. Make sure that you have a full site backup before sharing.

Best regards

0
MS
Monika Sz
Accepted Answer
4 months ago #195813

Please check.

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 months ago #195947

I have used this CSS to Template Options -> Custom Code -> Custom CSS

.sp-megamenu-parent > li > a{
  padding: 0px 7px !important;
}
#sp-user1{
  display: flex;
  justify-content: center;
  align-items: center;
}
div.mod-languages ul li.lang-active{
  background-color: transparent;
}
.sp-module ul > li{
  border: none;
}

Please check the language switcher module now.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #195948

Monika,

Sorry, but I would do that in different way ;p

  1. In Layout Manager, I would remove user1 position from header
  2. In "menu" module position I would publish "language" module
  3. I would also remove ">>" after flag icons by using

#sp-header .sp-module ul > li > a::after {display: none;}

Yes, also that line is useful (thanks @Ofi)

div.mod-languages ul li.lang-active{background-color: transparent;}

Why this way? Becuase if language module will be on the same position as menu, it takes less space, and is more flexible on smaller laptop screens.

0
MS
Monika Sz
Accepted Answer
4 months ago #195984

Thank you very much Ofi & Paul.

  1. What is the procedure of removing user1 position from header in Layout Manager? I cant see "remove" at settings options. I'm a little bit affraid to press red "Remove" button at Header panel (because I don't want to remove all Header...) 2.When I've published "language" module in "menu" position I've got flags before menu once again (at the left site of menu) but I wanted to have them at right side of menu ;(
0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #195995

Should I set it on your site? Or you'll keep @Ofi CSS method? Decide.

0
MS
Monika Sz
Accepted Answer
4 months ago #195998

Ofi method at my computer looks not good. Using his method menu at my laptop screen goes in two lines. So I'd like to use your method. And what is the procedure to remove user1 position from header?

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 4 months ago #196047

I have changed the layout, removed user1 position. Also, I have added this Custom CSS to make it look better. Please check and let me know if you need further help. Thanks Paul for the assist.

#sp-menu .sp-column{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row-reverse;
}
0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #196071

@Ofi, indeed now looks nice :)

0
MS
Monika Sz
Accepted Answer
4 months ago #196306

Thank you Ofi and Paul for your comprehensive help. Now my menu looks very nice. I have just only one request, can I have at mobile view (and only there) the flags before icon of menu? Now flags are after the icon. At computer view it looks very good, but at mobile it looks not so functional.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 months ago #196309

If we talk about Smartphones (Vertical View) try that

@media screen and (max-width: 680px) {
#sp-menu .sp-column  {display: grid;grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(1, 1fr);}
}
0
MS
Monika Sz
Accepted Answer
4 months ago #196312

Thank you Paul. Now it is as I expected. With countdown "czas do konferencji" I left as it was, because I have layout prepared for this 1X4 grid at mobile. But also thank you very much for look at this topic :) Pozdrawiam serdecznie

0
This topic is locked