Hello all
Does anyone know how to create a H1 tag to be used within a .less file?
I'd like to add <h1> into the body of an article and be able to produce the same colour, style and font each time.
Thanks
Dean
Hello all
Does anyone know how to create a H1 tag to be used within a .less file?
I'd like to add <h1> into the body of an article and be able to produce the same colour, style and font each time.
Thanks
Dean
Hi Dean,
Are you using the authoring tool, or developing straight into the framework?
It should just be a case of targeting the h1 tag and overwriting that style. See this snippet of the Vanilla theme for an example: https://github.com/adaptlearning/adapt-contrib-vanilla/blob/master/less/src/fonts.less#L123-L139