# Control HTML-Tags (specially of headings) in GB

**URL:** <https://forum.pinegrow.com/t/control-html-tags-specially-of-headings-in-gb/7144>\
**Category:** Pinegrow WP\
**Tags:** feature-request\
**Created:** [October 27, 2022, 11:43am UTC](https://forum.pinegrow.com/t/control-html-tags-specially-of-headings-in-gb/7144 "2022-10-27T11:43:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)\
**Post date:** [October 27, 2022, 11:43am UTC](https://forum.pinegrow.com/t/control-html-tags-specially-of-headings-in-gb/7144/1 "2022-10-27T11:43:48Z")

</div>

Hey There,

I often get in situations where I want to create kind of a global Heading-Style. I’m just working on a project which heavily relies on the AOS-Library. I’ve created a Heading-Block and I wanted to give that block the ability to control different fade-in effects and delays and so on from the AOS-Library.

However, in the current state I would need to create 6 different Blocks (H1 - H6) to achieve that kind of block… Which is not really friendly for maintenance of the site, Imagine I want to change something on the structure I would need to replace the whole block and recreate the settings the other heading-block had before.

I’m not sure if something like this is already possible in PG, I didn’t find a way to be honest. At least it should be possible within Gutenberg since the default Heading-Block already has such a feature! 😉

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [October 27, 2022, 2:51pm UTC](https://forum.pinegrow.com/t/control-html-tags-specially-of-headings-in-gb/7144/2 "2022-10-27T14:51:05Z")

</div>

Hi @Wolfgang.Hartl, you would like to change the tag name based on the block attribute, right?

At the moment this is not possible to do with PG, sorry 😉 It would be possible to extend the Block Attributes Use as field with “tag name” but at the moment this is not high on the to-do list. For some cases it might still be better to create a custom GB block the manual way.

---

<div class="post-metadata">

**Author:** ![Wolfgang.Hartl](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/wolfgang.hartl/32/4621_2.png) [@Wolfgang.Hartl](https://forum.pinegrow.com/u/Wolfgang.Hartl)\
**Post date:** [October 27, 2022, 4:17pm UTC](https://forum.pinegrow.com/t/control-html-tags-specially-of-headings-in-gb/7144/3 "2022-10-27T16:17:07Z")

</div>

Hey Matjaz,

yeah that’s exactly what I wanted to achieve! 😉

Ok no worries - just wanted to place it somewhere - yeah I mean I could create it manually, but I got lazy since PG has been created all that stuff for me! 🙂
