Language switcher in mobile and menu child-items positions
-
First of all Hello!
I need some help obviously – barely few days in wordpress.
I have rough knowledge about code and CSS and I’m definately not a coder.
Here is my site https://www.3k6hobby.com – (mostly dummy data as it’s work in progress) I started off with twenty-thirteen theme but already modified it to my liking.First question is about menu items customize. I used this code in CSS
to move language selector “PL” to the right side:.main-navigation ul li:last-child { float: right; font-weight: normal; }
As You can see it worked BUT:
– why won’t it go all the way to the right?
– I used font attribute as experiment yet obviously it doesn’t work in this section of CSS. Where can I change font weight for ONE particular menu item? I tried here and there but it always affects either all or none.
– “last-child” paramater seemed pretty obvious, so I found out there is “first-child” and “nth-child(n)” also. How can I use them to further tweak menu items positions AND color/weight etc? I.e I wanted to move “contact” and “PL” both to the right using above code, and they do sort-of but they swap places (PL goes before Contact). I know I can bypass this by changing menu item order in settings, yet for sake of education I’d like to know if there is CSS method to adjust this. ??Second question is about MOBILE version of this site (if You can try and access it). Question is much simplier, but maybe solution will be trickier: I like the layout and drop-down menu very much, I just want to move LANGUAGE-SELECTOR outside of drop-down to the right side of red bar. Is it possible? Which file (CSS, PHP) is responsible for mobile version layout?
Thank You in advance for any help, and sorry if I could’n explain something properly!
- The topic ‘Language switcher in mobile and menu child-items positions’ is closed to new replies.