Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #408050

    Hello,
    I want to customize the margin and padding of my language selector only. I am posting in enfold forum instead of WPML because i think the theme is overwriting some css files or sth.

    At the moment my language selector is positioned like this: http://puu.sh/gsYeE/73d1d0695e.png . I noticed that the matching css rules are stored in: wpml-mod.css?ver=4.1.1 . In the following file i also saw and changed those matching css rules, but it hasnt affected anything (the CSS hasnt changed in any way): wp-content/themes/enfold/config-wpml/wpml-mod.css

    Why is this happening and where can I change those CSS Rules correctly?

    #408075

    Hi KVSchneppenheim!

    Thank you for coming back.

    The best place to add your custom CSS is in the file custom.css or Enfold->Styles->QuickCSS field.

    Do not forget to add !important to your changings.

    If you have still troubles to access the element you like, give us a link to your page and we will help you, You can post it here as a private reply.

    Cheers!
    Günter

    #408550
    This reply has been marked as private.
    #408711

    Hi!

    Did you check the plugin folder? There’s most likely a CSS folder there, or .css folders in the root of it.

    Cheers!
    Rikard

    #409823

    Hey,
    yes I did ofcourse but I couldn’t find the related CSS file there ( http://puu.sh/gvHDO/1c59e165e4.png ).

    Günters approach doesn’t seem up2date ( Enfold->Styles->QuickCSS field. ). I can’t find a navigation Link Styles in my Enfold menu?

    Regards

    #410334

    Hi!

    Editing the core theme files means that you will lose all modifications when you update the theme. I think it’s best if you add the css modifications inside the Quick CSS field. All you need to do is to get the proper selector. If you want to add margins or padding between the language selector, use this:

    .avia_wpml_language_switch li .language_flag {
      display: block;
      margin-right: 5px;
    }

    A screenshot will help.

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.