I wanted to preload my main.css file, so I put a <link rel="preload"> early in the <head> and the call to the CSS file later. Both use get_asset_url. The preload one returns a hubspot CDN link, but the actual link to the CSS file returns read more
I want to use https://partytown.builder.io/atomics, which requires these headers: Cross-Origin-Embedder-Policy: credentialless
Cross-Origin-Opener-Policy: same-origin How do I edit the CMS site to use these headers?
What is the process to design a third party custom app that integrates the third party services into a HubSpot CMS driven web site? Any direction on where to start would be helpful.
Can someone at hubspot explain the idea behind the CTA styling? As a theme developer I would like to create button styles at a theme level so the user doesn't have to worry about styles. The current (legacy) CTAs at least offered a no style option read more
We are currently in the process of developing a website for our client, and we are utilizing the cool "--convertFields" feature for shared fields. To take advantage of the ES6 syntax, I am using the .mjs format, which has been working well ove read more
Hi, I embed a youtube video on my hubspot landing page. Should be a simple add. I want the video to plays automatically when loaded, by setting <iframe width="100%" src=" https://www.youtube.com/embed/9Z3SGHOXyKM?feature=oembed&auto read more
Browsers themselves started restricting when and how a video is allowed to autoplay in 2018 to improve user experiences so just setting a video to au...read more
Currently, the default for the topics module is to list blog topics/tags by alphabetical order. How can I switch this to most used tags? What are other options to sort by?
Current code to sort alphabetically:
<div class="blog-sidebar-topi read more
Hi, I am building the homepage of my website and using the Growth theme of Hubspot, at the footer of its theme when I drag the module its not showing the full width but its getting some padding from somewhere and I am not able to show the full mod read more
Hi there, I'm new to Hubspot so please bare with me. I am trying to get the hamburger nav to work on this site on mobile - https://blog.aqdot.com/aqfresh-odour-elimination-news/aqfresh-hair-personal-care-consumer-insights-report I have ad read more
Your menu function is inside an object that's being placed inside a variable by another function, so basically it's never actually being told to run....read more
There's a portion of .js we're wanting to add a couple more partners to. I'm just wondering how to test adding the partners to the list below and then checking it works with our Calculator here > https://www.homewise.co.uk/calculator The code read more
Hi, @Chappers 👋 Thanks for the question and for including your code example. I'd like to invite some of our community members to the converstaio...read more
A client wants certain page info to only be visible to themselves when logged into Hubspot.
I know that I can use
{% if request.postDict.inpageEditorUI %}
to only show content on the edit page but I'm struggling to think of a way read more
@amwilie that was the last thing I tried 😂 , detecting by the "hs-tools-menu" class, but no joy, my guess is it's some event after page load simi...read more
I have my reasons to ALWAYS hide a field in the editor UI, but I don't see any option to do this. Reading the docs, I came up with a "hack" to do this, which would be: "visibility" : {
"controlling_field_path" : "whatever_other_field", read more