0
Welcome Guest! Login
0 items Join Now

Template with Night Mode (on Gantry 5)

    • Alexandr's Avatar
    • Alexandr
    • Rocketeer
    • Posts: 99
    • Thanks: 2

    Template with Night Mode (on Gantry 5)

    Posted 7 years 11 months ago
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Template with Night Mode (on Gantry 5)

    Posted 7 years 11 months ago
    • So provided you don't need that automatically switching then you can just change preset in the frontend. If you look at the RT Gantry 5 templates you will see a "styles" menu item where you just click on the other styles. You've don't have to make it look the same - it's just a link so can be anything you want to click on. If you needed that automated that I am sure you could write a little jquery to automatically click on that link based upon the browser time.

      Finally there is a Joomla extension called "chameleon" which can do all sorts of template switching based upon lots of criterion. I've not tried it on Gantry 5 though.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Alexandr's Avatar
    • Alexandr
    • Rocketeer
    • Posts: 99
    • Thanks: 2

    Re: Template with Night Mode (on Gantry 5)

    Posted 7 years 11 months ago
    • I mean a button for site users, not for the admin. (on frontend)
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Template with Night Mode (on Gantry 5)

    Posted 7 years 11 months ago
    • Yes, that's exactly what the demo's do. Check out Acronym demo and you'll see what I mean - it's just a link... http://demo.rockettheme.com/live/joomla/acronym/

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
    • Alexandr's Avatar
    • Alexandr
    • Rocketeer
    • Posts: 99
    • Thanks: 2

    Re: Template with Night Mode (on Gantry 5)

    Posted 7 years 11 months ago
    • i mean some easier, like here - forum.sectioneighty.com

      This image is hidden for guests.
      Please log in or register to see it.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: Template with Night Mode (on Gantry 5)

    Posted 7 years 11 months ago
    • As I said it's just a link to change preset to how you give the use the option is entirely up to you. Whether is be a button, a toggle, a picture, a menu item, it really doesn't matter.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.054 seconds