GithubHelp home page GithubHelp logo

adesignl / hubspot-mobile-menu Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 539 KB

Mobile Menu Built To Work With Hubspot.

License: GNU General Public License v3.0

JavaScript 45.43% HTML 5.02% CSS 49.55%

hubspot-mobile-menu's Introduction

Mobile Menu For Hubspot Websites

A mobile menu designed to work with the hubspot framework.

Installation

Add the plugins.js to your template. Then add the app.js to your template below the plugins file.

Once those two files are added change the mobileMenu script to match the classes you are using fo rthe menu and the logo of your website. mobileMenu('.menu-wrapper','.logo-class')

if you do not wish to add a logo to the menu you can just leave that part out. menuMobile('.menu-wrapper')

If you have a secondary menu you would like to add you can do so by seperating its wrapper with a comma like so: menuMobile('.courtesy-menu-wrapper, .main-menu-wrapper', '.logo-class')

Styles

The syles are added via the style.css file. You can add those css styles to your current stylesheet as well.

To change colors please just change this block.

	:root {
		--white: #ffffff;
	  	--color1: #4168B1;
	  	--color2: #EEEEEE;
	  	--color3: rgba(33, 59, 110, 0.9);
	  	--color4: #252525;
	  	--color5: rgba(0,0,0,.25);
	}

Future Additions

This menu is only good for 2 levels currently which is all I usually use. I will be updating it to include unlimited levels soon.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.