Skip to main content
backdrop Backdrop Forum
  • Welcome!
    • Login
    • Register
  • Forum
  • FAQ
  • Following
  • About
  • Wishlist
  1. Home »
  2. Can we add a class to the admin tabs?

Can we add a class to the admin tabs?

Description of the need I was looking at styling the tabs slightly differently and realized they don't have any identifying classes (e.g. the "Edit" tab does not have an "edit" class) so are hard to pinpoint precisely with CSS.

Screen Shot 2020-09-23 at 4 27 03 PM

Recommended solution Add a view class to the View tab and an edit class to the Edit tab.


PR: https://github.com/backdrop/backdrop/pull/3320

GitHub Link: 
https://github.com/backdrop/backdrop-issues/issues/4207
GitHub Issue #: 
4207
  • Log in or register to post comments

Weekly office hours

Bring your questions to our weekly virtual office hours, every Wednesday. Everyone is welcome.

Recent topics

Paypal button code gets messed-up

Posted 3 hours 11 min ago by (Egmund) in How-To and Troubleshooting

Parent items won't show on Leaflet Widget.

Posted 4 days 15 hours ago by (geoma) in How-To and Troubleshooting

Customizing Leaflet Widget popup content and appearance.

Posted 4 days 15 hours ago by (geoma) in How-To and Troubleshooting

Recent comments

Hi Egmund, BackdropCMS tries hard to output valid markup, by default even the "raw" format. Your code is invalid, though, as there's a <style> tag inside the body, whereas...

Posted 15 min 4 sec ago by (indigoxela) on:

Paypal button code gets messed-up

I have tried ckeditor  tinymce and 'nothing' - same results, code get messed up. Something is 'fixing' and instead messing up. If there is no way to have actually raw html in BackdropCMS...

Posted 49 min 50 sec ago by (Egmund) on:

Paypal button code gets messed-up

Make sure that ckeditor or tinymce is not enabled for that filter. Especially ckeditor is opinionated and will change the html.

Posted 1 hour 31 min ago by (herb) on:

Paypal button code gets messed-up

Powered by Backdrop CMS

Stay connected

Sign up for our newsletter

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org