Title: Cannot overwrite CSS
Last modified: November 30, 2023

---

# Cannot overwrite CSS

 *  Resolved [truden](https://wordpress.org/support/users/truden/)
 * (@truden)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-overwrite-css/)
 * Before presenting my problem with GTranslate, I’d like to say BIG thanks to the
   creator(s) of this wonderful plugin. I’ll rate it five stars after I write this
   post.
   So, I try to overwrite part of the CSS but it doesn’t work and I cannot
   find the style.css in the plugin files.I’d like to put 10px top margin with this
   code in my custom css:
 *     ```wp-block-code
       .gt_container--ycjph6 .gt_switcher .gt_selected a {
       margin: 10px 0 0 0;
       }
       ```
   
 * With the above css it looks like this (the image is taken after altering with
   the “Inspect” Chrome function):
 * ![](https://i0.wp.com/truden.com/wp-content/uploads/2023/11/aligned.png?ssl=1)
 * But because it cannot be applied, it looks like this:
 * ![](https://i0.wp.com/truden.com/wp-content/uploads/2023/11/not_aligned.png?ssl
   =1)
 * Can you, please, help with this?
   Thank you for your time.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-overwrite-css%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-overwrite-css/#post-17246140)
 * Hi,
 * I appreciate your review.
 * You can use this CSS: `li.menu-item-gtranslate {padding-top:10px}`
 * Thanks! 🙂
 *  Thread Starter [truden](https://wordpress.org/support/users/truden/)
 * (@truden)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-overwrite-css/#post-17246292)
 * Thank you very much. It works perfectly.
   Thank You!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot overwrite CSS’ is closed to new replies.

 * ![](https://ps.w.org/gtranslate/assets/icon-256x256.png?rev=2595917)
 * [Translate Wordpress with GTranslate](https://wordpress.org/plugins/gtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/gtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gtranslate/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [styling](https://wordpress.org/support/topic-tag/styling/)

 * 2 replies
 * 2 participants
 * Last reply from: [truden](https://wordpress.org/support/users/truden/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/cannot-overwrite-css/#post-17246292)
 * Status: resolved