My mistake was thinking hubspot used consitent naming conventions. Here is the Hubl snippet for icon: {% icon
name="{{ item.icon_field.name }}"
...read more
Furthermore, if I leave the icon property out of my repeating group, an icon will display. The icon also displays just fine in module preview but tha...read more
Background I created a module that uses the sparsely documented icon field . Now I want to add it to a section template. I named the field icon. This code will not display an icon on preview. {% dnd_module "module_12345" path="/my-template/mo read more
I can add responsive padding to my section like so: {% dnd_section
padding={
'default': {
'top': 0,
'bottom': 0,
'left': 0,
'right': 0
},
'mobile': {
'top': 0,
'bottom': 0,
'left read more
I'm attempting to add a class attribute for the backhround image but allow content editors to change the color. This is not possible because hubspot ...read more
That just adds the section to a page template. I'm using extends with layouts and partials already, but there doesn't seem like there's a way to inse...read more
Background: Currently, a content editor would need to know the exact padding in rem and colors in hex to adjust a section to their liking. I would like to provide content editors with a simple to choice menu to apply theme colors or default paddi read more
Background I have a carousel with videos. I want to pause the video when the carousel changes slides. Most video APIs allow for developers to select the video and pause, play, stop, or mute the video but hubspot does not make available Re read more
Background I am developing a nav bar which is transparent with white text on init. This is an issue since the preview for the module has a white background. Solution Using the In-app editory and preview variables allowed me to set a read more
Background: Currently, a content editor would need to know the exact padding in rem and colors in hex to adjust a section to their liking. I would like to provide content editors with a simple to choice menu to apply theme colors or default paddi read more
I can add responsive padding to my section like so: {% dnd_section
padding={
'default': {
'top': 0,
'bottom': 0,
'left': 0,
'right': 0
},
'mobile': {
'top': 0,
'bottom': 0,
'left read more
Description The command: `hs theme preview` displays error : Unknown argument: preview. What is expected I would expect hs theme preview to display my theme in a browser according to the docs: https://developers.hubspot.com/docs/cms/dev read more