Git Product home page Git Product logo

Comments (4)

somewebmedia avatar somewebmedia commented on June 11, 2024 3

I thought about it and implemented it. It's in the latest version. :)

Haven't tested it on iPhone tho, only on Android device.

from hc-offcanvas-nav.

somewebmedia avatar somewebmedia commented on June 11, 2024

I'll have to think about this.

from hc-offcanvas-nav.

gaaytrimaa avatar gaaytrimaa commented on June 11, 2024

So, nice of you for adding this native app like feature.
It would be very nice if there is an option to change text color and background color of the navigation from a single place rather than editing the demo.css file at multiple places with hex code.

from hc-offcanvas-nav.

somewebmedia avatar somewebmedia commented on June 11, 2024

You should not use the demo.css file, it serves just for the repository demo purposes.

In fact you shouldn't edit any of the files from this plugin. If you want to change the look of the nav there are two ways:

  • Via scss, by assign your colors to predefined vars and importing the main scss into your scss:
$hc-offcanvas-nav-background-color: #0d0d0d;
$hc-offcanvas-nav-text-color: #dedede;

@import 'path-to-nav/hc-offcanvas-nav/src/scss/hc-offcanvas-nav';
  • Via regular css, by just overriding the styles you want in your css:
.hc-offcanvas-nav .nav-container,
.hc-offcanvas-nav .nav-wrapper,
.hc-offcanvas-nav ul {
    background-color:  #0d0d0d;
}

from hc-offcanvas-nav.

Related Issues (20)

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.