Fetching dynamic content using JS filter

 




Sample Preview

http://melbournepolytechni-edu-au-7549024-hs-sites-com.sandbox.hs-sites.com/home-banyule


CSS


<style> 

.page-center {

    max-width: 1230px;

  }

.heading-sec {

    padding-bottom: 14px;

}

.program-sec a {

    text-decoration: none;

}

.heading-sec h2{

   font-family: 'vicbold';

   margin: 10px 0px 14px;

   color: #333742;

  font-size: 60px;

  font-weight: 700;

  font-style: normal;

  letter-spacing: 2px;

  line-height: 72px;

  margin-bottom:20px;

}


.heading-sec h4 {

    font-family: 'vicmedium';

    margin: 10px 0px;

  color: #333742;

}

.menu-item{

    display: -ms-flexbox;

    display: flex;

    -ms-flex-pack: start;

    justify-content: flex-start;

}

.menu-item ul{

    padding: 0px;

    list-style: none;

}

.menu-item ul li {

    display: inline-block;

    margin-right: 20px;

}

.menu-item ul li:last-child {

    margin-right: 0px;

}

.menu-item ul li a {

    font-family: 'vicmedium';

    text-decoration: none;

    color: #999092;

    font-size: 24px;

    font-weight: 500;

    font-style: normal;

    letter-spacing: normal;

    line-height: normal;

}


.menu-item ul li.active a {

      font-weight: 700;

      color: #40aead;

}

.menu-item ul li a:hover, .menu-item ul li a:focus, .menu-item ul li a:active{

  color: #40aead;

}

.program-sec{

    display: -ms-flexbox;

    display: flex;

    -ms-flex-pack: center;

    justify-content: center;

  flex-wrap: wrap;

}


.program-item{

  padding: 20px 12px;

/* max-width: 366px; */

  width: 33.33%;

  box-sizing: border-box;

}

.program-item:hover {

    box-shadow: 0 2px 11px 4px rgba(0, 0, 0, 0.14);

    padding: 20px 12px;

    transition: .2s ease;

}

.program-item:hover .container-img>img {

    border-bottom: 8px solid #fff;

/*   border-bottom: 8px solid #6e4987; */

}

.program-item h5{

  color: #333742;

  font-family: 'vicbold';

  font-size: 24px;

  font-weight: 700;

  font-style: normal;

  letter-spacing: normal;

  line-height: 30px;

}

.program-item:hover h5 {

     color: #6e4987;

}

/* .program-item:last-child{

    padding-right: 0px;

}

.program-item:first-child{

    padding-left: 0px;

} */

.program-item .container-img>img {

    width: 100%;

      border-bottom: 8px solid #e57e3b;

  border-bottom: 8px solid #333742;

  

}



.program-item h5 {

    margin-bottom: 5px;

    margin-top: 10px;

    line-height: 30px;

    text-align: left;

}

.program-item p {

    margin: 0px;

    color: #55565b;

    font-family: 'viclight';

    font-weight: 300;

    font-size: 18px;

    line-height: 24px;

    text-align: left;

}

.program-item p span {

    color: #55565b;

    font-family: 'vicmedium';

    font-size: 18px;

    line-height: 24px;

    font-weight: 700;

    padding-left: 3px;

}

.load-more-cta{

 text-align: center;

 padding-top: 100px;

}

.program-cta.load-more-cta a{

    background-color: #40aead;

    padding: 16px 0px;

    max-width: 372px;

    width: 100%;

    display: inline-block;

    color: #ffffff;

    text-decoration: none;

    font-family: 'vicmedium';

    font-size: 24px; 

    font-weight: 500;

    font-style: normal;

    letter-spacing: normal;

    line-height: normal;

    text-align: center;

}

/* .load-more-cta a:hover{

 background-color: #e57e3b;

} */

.container-img{

  position: relative;

  width: 100%;

  max-width: 377px;

}

.overlay-img {

    position: absolute;

    bottom: 10px;

    top: 137px;

    overflow: hidden;

    left: 0;

    right: 0;

    margin: 0 0 0 auto;

    max-width: 180px;

    width: 100%;

    opacity: 0;

    transition: .3s ease;

}

.overlay-img img {

    width: 100%;

}

.image {

  display: block;

  width: 100%;

  height: auto;

}

.program-item:hover .overlay-img {

  opacity: 1;

}


@media(max-width: 767px){

.container-img {

    margin: 0 auto;

}

.program-item p {

    text-align: center;

}

.program-item h5 {

    text-align: center;

  }

 .program-sec {

    display: block;

.program-item {

    width: 100%;

    margin: 0 auto;

}

.load-more-cta {

    padding-top: 50px;

}

}


@media(max-width: 480px){

.heading-sec h2{ 

    font-size: 40px;

}


}

.program-item{

  display: none;

}

.show {

  display: block;

}


</style>

Labels:

Post a Comment

[blogger]

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget