Commit b941d99b by jhukal9@gmail.com

updated the bugfixes

parent eadeeeb7
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -78,11 +78,55 @@
});
/** MAKURA LATEST FAQ EXPAND COLLAPSE ENDS HERE */
/** STICKY TAB AT MASTER PORTFOLIO START HERE */
/** MOBILE OFFCANVAS TOC START HERE */
$(function () {
$(".sticky-tab");
$(".blog-side-bar h6").on("click", function () {
$(this).addClass("remove");
$(".category-list").addClass("active");
});
/** STICKY TAB AT MASTER PORTFOLIO ENDS HERE */
$(".category-list a").on("click", function () {
$(".blog-side-bar h6").removeClass("remove");
$(".category-list").removeClass("active");
});
$(document).on("click", function (e) {
if (!$(e.target).closest(".blog-side-bar").length) {
$(".blog-side-bar h6").removeClass("remove");
$(".category-list").removeClass("active");
}
});
$(window).on("scroll", function () {
$(".blog-side-bar h6").removeClass("remove");
$(".category-list").removeClass("active");
});
const tocObserver = new IntersectionObserver(
function (entries) {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".blog-side-bar h6").show();
} else {
$(".blog-side-bar h6").hide();
}
});
},
{
threshold: 0.1,
},
);
const sections = [
document.querySelector(".BLOGDETAIL-LIST-ITEM-SECTION"),
document.querySelector(".BLOGLISTING-LIST-ITEM-SECTION"),
];
sections.length &&
sections.forEach((section) => {
if (section) tocObserver.observe(section);
});
});
/** MOBILE OFFCANVAS TOC ENDS HERE */
/** GALLERY LIGHT BOX AND DYNAMIC SLIDER START HERE */
$(function () {
......
<?php if(get_field('enable_section')):?>
<section class="container-fluid py-80 ABOUT MEET-OUR-TEAM-SECTION">
<section class="container-fluid py-80 ABOUT MEET-OUR-TEAM-SECTION">
<div class="container">
<div class="row">
<div class="col-lg-5 col-md-5 text-center col-12 m-auto pb-80 title-wrapper">
<div class="col-xl-7 col-lg-6 col-md-8 text-center col-12 m-auto pb-80 title-wrapper">
<h2><?php the_field('title');?></h2>
<?php the_field('description');?>
</div>
......
......@@ -17,7 +17,7 @@
<div class="technology-used">
<h3><?php the_sub_field('technology_title');?></h3>
<?php if($images = get_sub_field('technology_images')):?>
<ul class="d-flex list-unstyled">
<ul class="d-flex list-unstyled flex-wrap">
<?php foreach( $images as $image_id ): ?>
<li>
<?php echo wp_get_attachment_image( $image_id, 'full' ); ?>
......
......@@ -17,7 +17,7 @@
<div class="technology-used">
<h3><?php the_sub_field('technology_title');?></h3>
<?php if($images = get_sub_field('technology_images')):?>
<ul class="d-flex list-unstyled">
<ul class="d-flex list-unstyled flex-wrap">
<?php foreach( $images as $image_id ): ?>
<li>
<?php echo wp_get_attachment_image( $image_id, 'full' ); ?>
......
......@@ -12,7 +12,7 @@
<div class="inner-list-wrapper">
<div class="row">
<?php while(have_rows('steps')): the_row();?>
<div class="text-center mx-auto col-lg-2 col-6 mb-2">
<div class="text-center mx-auto col-lg-2 col-sm-6 mb-2">
<div class="m-auto icon-wrapper">
<?php if($image = get_sub_field('image')): echo wp_get_attachment_image($image,'full'); endif;?>
</div>
......
......@@ -4,10 +4,10 @@ get_header();
?>
<!-- BREADCRUMB -->
<div class="container-fluid py-40">
<div class="container-fluid py-40 general-breadcrumb">
<div class="container">
<div class="row">
<nav aria-label="breadcrumb">
<nav aria-label="breadcrumb ">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<?php echo get_home_url('/'); ?>">Home</a></li>
<li class="breadcrumb-item active" aria-current="page"><a href="#"><?php echo the_title(); ?></a>
......@@ -29,7 +29,8 @@ get_header();
if( have_rows('general_sidebar_links') ):
while( have_rows('general_sidebar_links') ) : the_row();
?>
<li class="active"><a href="<?php echo esc_attr( get_sub_field('links') ); ?>"><?php echo get_sub_field('title'); ?></a></li>
<li class="active"><a
href="<?php echo esc_attr( get_sub_field('links') ); ?>"><?php echo get_sub_field('title'); ?></a></li>
<?php
endwhile;
endif;
......
......@@ -4,7 +4,7 @@
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<?php wp_head(); ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment