Issue #653Opened December 15, 2017by gerabu2 reactions

defautl class on block

Question

I'm trying to add a custom block 1

and work fine, except that the styles attributes are set to a default class, for example 2

i want those css attributes be set to the class i'm setting in the classes attribute ('header-banner') how can i do that?

Answers (3)

artfDecember 19, 20170 reactions

You can also do this

content: `
	<div class="header-banner">...</div>
	<style>
		.header-banner {
			...
		}
	</style>
`
lock[bot]September 18, 20190 reactions

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.