GithubHelp home page GithubHelp logo

tribemedia / telescope-plugin-hero Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jshimko/telescope-plugin-hero

0.0 4.0 0.0 135 KB

A plugin to add a customizable hero banner to your Telescope site.

HTML 16.18% JavaScript 49.16% CSS 34.66%

telescope-plugin-hero's Introduction

Telescope Hero Banner Plugin

A simple plugin that lets you add a configurable hero banner to your Telescope site.

Example: http://telescope-hero.meteor.com (you get exactly what you see there simply by adding this package)

NOTE: This package currently only works with either the latest devel branch of Telescope or the packaged version that can be installed via Atmosphere. All Telescope versions soon to be supported (when devel gets merged).

Install

meteor add jeremy:telescope-plugin-hero

Customization

Once logged in as an admin, you should see a small tab at the top right of the page that will toggle the hero configuration window. You can configure the background image, main and secondary headings, some additional HTML (appears below the main headings), and some custom CSS.

Note that any styles entered in the custom CSS box can effect the site globally, so make sure to be specific enough with your selectors. Also, when you turn the hero off with the switch on the overlay, the custom CSS will be disabled as well.

If you'd like to customize the hero with your own CSS, the markup essentially looks like this...

<section class="hero" style="background-image: url('Hero image URL')">
  <div class="hero-inner">
    <div class="copy">
      <h1>Main Heading</h1>
      <h3>Secondary Heading</h3>
      <!-- Extra HTML inserted here -->
    </div>
  </div>
</section>

Future

Feature suggestions and pull requests welcome! Troubles? Drop me a line on Github.

telescope-plugin-hero's People

Contributors

jshimko avatar

Watchers

 avatar  avatar  avatar  avatar

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.