This forum is for assistance with theme development.

Add machine name to block as class programatically

Hi!

I am looking for a way to add a class to a block, but not a custom class, a class from either the region name or the block machine name.

For example, with regions, this is possible:

Some page auto added <em> & <strong> tags in my theme

Dear All,
In my website have some page auto added & tags. I don't know why. Please, help me how to fix it?
The error here em-strong-auto-added-to-html.jpg

Force fieldset to be collapsed by default when editing a block

How can I make certain fieldsets like"Region settings" to be collapsed by default when editing a block? They take up alot of room when uncollapsed and would like to collapse this unless you are interested in those settings.

I would like to do this in template file if possible.

http://imgur.com/a/iItiG

Bootstrap custom style sheet

Hello,

I'm Drupal newbie and recently started using it. Now I want to give my site the look I designed.
And thought bootstrap was the way to go as it goes for theming. So I installed it as a subtheme and have a blank style.css wich overrules the themes own style. Now I have already used selectors as h1, h2 etc. and body. I do know basic CSS but I have no idea what selectors I need to call on for let's say the navigation bar, I want to customize the colors of the bar and just don't know where to start.
Anyone got any tips for me where to look or what to learn?

Contact Form as block

Hi!

I am learning Drupal 8 and I am stuck on a problem.

How do I create a form as a block? and thus place it wherever I please?

I know this module:
https://www.drupal.org/project/contact_block

but there isn't even 1 example to demonstrate how to procede.

Thanks :)

Sub-theming Bootstrap Theme

I've encountered an issue, and I know what the problem is (at least I'm pretty sure I do), but I don't know how to fix it.

Pages

Subscribe with RSS Subscribe to RSS - Theme development