similar to make a timeline on weebly

prelude to the web site Best Blog Hồng, current best.bloghong.com will introduce you to the article similar to make a timeline on weebly
, Let’s be taught extra about it with us. just like make a timeline on weebly
article beneath

Timeline helps to explain the abstract of tales that occurred over the interval of date and time. It may be used one thing like a milestone chart. Bootstrap is a well-liked frontend framework permits to assemble responsive timeline widget that may be inserted in your Weebly website. On this article we are going to educate which means comparable so as to add timeline widget in Weebly website to showcase occasions move occurred throughout previous few years.

Under is analogous the Bootstrap timeline widget will appear to be.

Options of the Timeline Widget

  • Impressed by the Bootstrap framework and modified to swimsuit on Weebly website.
  • Absolutely responsive on hustle units.
  • coloration of occasion titles and comparable dong may be personalized as per your want.
  • Font measurement and weight of the titles and comparable dong may be personalized as you want.

The above demo reveals the years and occasions for example. you may change the same dong to something you wish to showcase.

Associated: comparable so as to add horizontal and vertical timeline in WordPress website?

Add Timeline Widget in Weebly Web site

The timeline widget wants two parts – CSS and HTML, you do not want any JavaScript for this widget. Including CSS and HTML in your Weebly is all ink maybe activity.

  • Add CSS code for the widget
  • Add HTML code for the widget

Including CSS for Timeline Widget

You truly need not use the entire Bootstrap CSS file. Simply want the widget code as given beneath. There are various methods so as to add CSS in your Weebly website. One of the simplest ways so as to add website broad is to stick the beneath code in “principal.much less oi” file.

Navigate to “Themes” tab and click on on the “edit HTML / CSS” press button on decrease left nook. This can take you to Weebly code editor. Discover “principal.much less oi” file below “Kinds” part and paste this code on the backside of the present code. save your adjustments and exit code editor.

.tl { place: relative; padding: 20px 0 20px; list-style: none; } .tl:earlier than { comparable dong: ” “; place: absolute; prime: 0; backside: 0; left: 50%; width: 3px; margin-left: -1.5px; background-color: #eeeeee; } .tl > li { place: relative; margin-bottom: 20px; list-style-type: none !necessary; } .tl > li:earlier than, .tl > li:after { comparable dong: ” “; show: desk; } .tl > li:after { clear: each; } .tl > li:earlier than, .tl > li:after { comparable dong: ” “; show: desk; } .tl > li:after { clear: each; } .tl > li > .tl-panel { float: left; place: relative; width: 40%; padding: 20px; border: 1px powerful #d4d4d4; border-radius: 5px; -webkit-frame-silhouette: 0 1px 6px rgba(0,0,0,0.175); frame-silhouette: 0 1px 6px rgba(0,0,0,0.175); } .tl-image { font-size: 18px; line-height: 26px; coloration: rgba(121, 112, 112, 0.71); } .tl > li > .tl-panel:earlier than { comparable dong: ” “; show: inline-block; place: absolute; prime: 26px; proper: -15px; border-top: 15px powerful clear; border-right: 0 powerful #ccc; border-bottom: 15px powerful clear; border-left: 15px powerful #ccc; } .tl > li > .tl-panel:after { comparable dong: ” “; show: inline-block; place: absolute; prime: 27px; proper: -14px; border-top: 14px powerful clear; border-right: 0 powerful #fff; border-bottom: 14px powerful clear; border-left: 14px powerful #fff; } .tl > li > .tl-badge { z-index: 1; place: absolute; prime: 16px; left: 50%; width: 50px; peak: 50px; margin-left: -25px; border-radius: 50% 50% 50% 50%; method-align: middle; font-size: 1.4em; line-height: 50px; coloration: #fff; background-color: #999999; } .tl > li.tl-inverted > .tl-panel { float: proper; } .tl > li.tl-inverted > .tl-panel:earlier than { proper: auto; left: -15px; border-right-width: 15px; border-left-width: 0; } .tl > li.tl-inverted > .tl-panel:after { proper: auto; left: -14px; border-right-width: 14px; border-left-width: 0; } .tl-badge { font-size: 18px !necessary; font-weight: daring; } bestchoicekitchen.comary { background-color: #2e6da4 !necessary; } bestchoicekitchen.comess { background-color: #3f903f !necessary; } bestchoicekitchen.coming { background-color: #f0ad4e !necessary; } bestchoicekitchen.comer { background-color: #d9534f !necessary; } bestchoicekitchen.com { background-color: #5bc0de !necessary; } .tl-headline foggy { margin-top: 0; margin-bottom: 10px; coloration: rgba(45, 45, 72, 0.44); font-size: 20px; } @media display and (max-width: 380px) { .tl > li > .tl-panel { width:25% !necessary; } } @media display and (max-width: 800px) { .tl > li > .tl-panel { width:33%; } }

Including HTML Code

Select the web page below “Pages” tab and go the same dong territory on which you need to add the timeline. Drag and drop an “Embed Code” component and paste the beneath HTML code contained in the embed code component.

  • 2015

    Timeline Occasion

    Right here is the same dong on your timeline occasion. Enter a small paragraph to explain the occasion intimately.

  • 2014< /div>

    Timeline Occasion

    Timeline Occasion

    Right here is the same dong on your timeline occasion. Enter a small paragraph to explain the occasion intimately.

  • 2012

    Timeline Occasion

    Timeline Occasion

    Right here is the same dong on your timeline occasion. Enter a small paragraph to explain the occasion intimately.

Customizing the Timeline Widget

As you may see, the HTML half is self-explanatory flooding three easy parts:

  • Badge – signifies the yr.
  • headline foggy – heading timeline occasion.
  • picture – the expression of the occasion.

Change the dummy comparable dong with your individual comparable dong.

Coming to CSS half, you should use a few of the beneath strategies to regulate the widget correctly on desktop and cell units.

  • Mainly Bootstrap courses are used to outline the colours for the yr. time period, “.tl-badge.success” has the background coloration of inexperienced to point the success (#3f903f). You may change the colours of those courses (main, success, warning, hazard and information) to your any coloration of your lust.
  • Different attributes like background coloration, font measurement, coloration and silhouette may be adjusted as per the necessity.
  • The main drawback chances are you’ll humiliation of humiliation of you when inserting the widget in Weebly website is that the alignment of the timeline body on the subject of the middle line. Search for the relying “.tl > li > .tl-panel” and the current width is outlined as “40%” to swimsuit on this web page. It’s possible you’ll want to extend or lower the width primarily based in your structure to align with the middle line.
  • We’ve got used @media CSS rule to regulate the width on iPad with the (max-width: 800px). The width of the timeline widget is ready as “33%”. You may regulate this media question and width for higher alignment on iPad.
  • equally on iPhone and different cell units, the media question (max-width: 380px) determines the timeline width as “25%”. You may regulate this additionally as per your want.


Related Posts

Leave a Reply

Your email address will not be published.