Title: Wrong display styel set for code tag
Last modified: February 4, 2023

---

# Wrong display styel set for code tag

 *  Resolved [Uriahs Victor](https://wordpress.org/support/users/uriahs-victor/)
 * (@uriahs-victor)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wrong-display-styel-set-for-code-tag/)
 * Code tags in betterdocs have the CSS property `block` which make them take the
   width of the page: [https://prnt.sc/wZvLlTHOiVp4](https://prnt.sc/wZvLlTHOiVp4)
 * When in fact it should not be block: [https://prnt.sc/qRUoUmwOjY8Y](https://prnt.sc/qRUoUmwOjY8Y)
 * Of course I can override the CSS on my website but this should be the default
   behaviour in the plugin.
    -  This topic was modified 3 years, 4 months ago by [Uriahs Victor](https://wordpress.org/support/users/uriahs-victor/).

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

 *  [Kawshar Ahmed](https://wordpress.org/support/users/onlykawshar/)
 * (@onlykawshar)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wrong-display-styel-set-for-code-tag/#post-16440417)
 * Hello [@uriahs-victor](https://wordpress.org/support/users/uriahs-victor/),
 * I hope you are doing well.
 * I have checked your query and thank you for sharing this. We will review this
   soon and will let you know an update after reviewing this. Please allow me some
   time.
 * Thank you
 *  [Kawshar Ahmed](https://wordpress.org/support/users/onlykawshar/)
 * (@onlykawshar)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/wrong-display-styel-set-for-code-tag/#post-16443904)
 * Hello [@uriahs-victor](https://wordpress.org/support/users/uriahs-victor/),
 * I hope you are doing well.
 * Right now, We don’t have the scope to improve this. We are using CSS property
   blocks based on our Template’s needs. Without knowing the use case, It could 
   be harmful to other users If we improve this. I hope you understand.
 * Thank you

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

The topic ‘Wrong display styel set for code tag’ is closed to new replies.

 * ![](https://ps.w.org/betterdocs/assets/icon-256x256.png?rev=2953105)
 * [BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor](https://wordpress.org/plugins/betterdocs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/betterdocs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/betterdocs/)
 * [Active Topics](https://wordpress.org/support/plugin/betterdocs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/betterdocs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/betterdocs/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Kawshar Ahmed](https://wordpress.org/support/users/onlykawshar/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/wrong-display-styel-set-for-code-tag/#post-16443904)
 * Status: resolved