• Resolved wprrr32

    (@wprrr32)


    Hello, when I apply custom css, the widget preview displays the results correctly. But when I save, the preview goes back to default but the css is still there. The css does not display. Any thoughts on what would do this? Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author edo888

    (@edo888)

    Hi,

    Possibly you have some code in your CSS which is being stripped after you save.

    You can post the CSS code you use and I’ll try to point the issues you have.

    Thanks! ??

    Thread Starter wprrr32

    (@wprrr32)

    hello and thank you for the reply! here is the css i added:

    /* Add a \”Language\” label in front of the .gtranslate_wrapper selections / .gtranslate_wrapper::before { content: \”Language \”; font-weight: bold; / Optional: Make the label bold / margin-right: 5px; / Optional: Add some spacing between the label and the selections */
    }

    /* Ensure proper alignment and spacing */
    .gtranslate_wrapper {
    display: inline-flex;
    align-items: center;
    }

    /* Adjust the position and appearance of the select element if necessary / .gtranslate_wrapper select { margin-left: 5px; / Adjust spacing as needed */
    }

    Thread Starter wprrr32

    (@wprrr32)

    what i am trying to do with this css is add “Language” in front of the language codes. also is it possible to add css for a top center placement? thanks again

    Plugin Author edo888

    (@edo888)

    I suggest that you place it into your theme CSS code instead.

    Thanks! ??

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