Plugin Author
edo888
(@edo888)
Hi,
You better describe what you want to do and I’ll try to help.
Thanks! 🙂
I want to change the size of the drop down menu. 300px should be fine. Then add left and right margin on auto. Finally remove the border in the drop down menu.
https://postimg.cc/XZMVRwDY
If the customizations don’t fit, I’ll take care of it.
I tried aligning the widget to center. But the alignment starts from the flag.
/* center align the translations button */
#gt-wrapper-78859753 {
margin: 0 50%;
}
I use these codes, but they don’t work.
/* center align the translations button */#gt-wrapper-78859753 { margin: 0 50% !important;}/* enlarge translation widget */.gt_container-gdcw9w .gt_switcher .gt_option { width: 300px !important;}/* enlarge translation widget */.gt_container-gdcw9w .gt_switcher { width: 300px !important;}
Sorry for the bad arrangement of the codes, on the forum it is not possible to copy correctly.
Plugin Author
edo888
(@edo888)
Hi,
Just use .gt_switcher and .gtanslate_wrapper instead of long selectors with random IDs which change with every reload.
Make sure to make the changes in the browser console and when you are happy with the results copy the rule into Custom CSS section.
Thanks! 🙂