Adjusting Child Menu Width

Hi, not a dev here. I have a very simple adjustment I would like to make to our website -- apartmentgeofencing.com.

I want to increase the width of the drop-down menu (desktop only).

Here is what it looks like currently:

In developer tools I see width 150px

Changing this to 200px; gives me the desired width:

Desired Result:

I am having a hard time located where in the theme files / CSS files to make this change, and I am new to Hubspot. I will contract someone to help, but would like to become more comfortable making minor adjustments like this on my own.

Any help would be great. Thank you!

Hi @PSewall,

the theme files are located in your theme folder which can be found in the Design-Tools(Marketing → Files&Templates → Design-Tools or Design Manager ).

If you don’t see this option contact an Admin from your Hub and request the rights for access to it.

Once you’re in the Design-Tools open the theme - according to the source code it should be inside the “intrinsic-digital” folder. Somewhere in this folder you should find a module folder with a module called navigation, header navigation or similar. Open it and you’ll find the CSS part you’re looking for in the module.css area.

Important: It seems that it’s is a custom theme set up by an agency - inform them that you’ve made some changes. Otherwise they might overwrite it if they update your theme

best,

Anton

Thanks, that was helpful. I found it and made the change!

To increase the width of the drop-down menu on your website, you’ll need to locate the relevant CSS code in the theme files betflik. Since you’re new to Hubspot, I recommend seeking assistance from a developer to help you find the correct CSS file and make the adjustment. Once you’re more familiar with it, you can start making minor adjustments on your own. Good luck!

Thanks, that was helpful. I found it and made the change! betflik45

To increase the width of a desktop drop-down menu:

  1. Find the CSS selector for the menu.
  2. Add a CSS rule to set the width.
  3. Optionally, use a media query to apply the change only on desktop screens.
  4. Test on different browsers.
  5. Update your betflix website/app code with the modified CSS.