Skip to main content

testing lcp













HTML
.post-header-container{ margin-bottom:12px } .post-header-container .post-share-buttons-top{ float:right } .post-header-container .post-header{ float:$startSide }

uper blue $starside ko change karke left kar de


paste down code just above .post-header-container{
margin-bottom:12px
}  

HTML2
/* Existing styles.css */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
  margin: 0;
  padding: 20px;
}

.text-container {
  width: 100%;
  height: 100%;
  margin: 20px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Additional styles for blog description container */
.blog-description-container {
  width:100%;
  height: 100%;
  margin: 20px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  /* Add any additional styles for lazy loading, preloading, or system UI here */
}



#2

text ko text samje and image ko image 


<b:includable id='userProfileText'>
          <dd class='profile-textblock profile-snippet snippet-container r-snippet-container'>
            <div class='snippet-item r-snippetized'>
              <data:aboutme/>
            </div>
            <div class='snippet-fade r-snippet-fade hidden'/>
          </dd>
        </b:includable>



1.

uper ka code dikhai dega usko badal de or niche diye gaye code ko laga de 

snippet-item r-snippetized  ye appko do jagha milega dono jagha me chage karna hai and code niche diya gaya hai 

HTML3
       <b:includable id='userProfileText'>
  <dd class='profile-textblock profile-snippet snippet-container r-snippet-container'>
    <div class='snippet-item r-snippetized' id='aboutMeContainer'>
      <data:aboutme/>
    </div>
    <div class='snippet-fade r-snippet-fade hidden'/>
  </dd>

  <!-- Add the following script to handle text and images -->
  <script type='text/javascript'>
    // Get the content from data:aboutme
    var aboutMeContainer = document.getElementById(&#39;aboutMeContainer&#39;);
    var aboutMeContent = aboutMeContainer.innerHTML;

    // Create a temporary div element to parse the HTML content
    var tempDiv = document.createElement(&#39;div&#39;);
    tempDiv.innerHTML = aboutMeContent;

    // Check if the content contains an <img> tag
    var hasImgTag = tempDiv.querySelector(&#39;img&#39;) !== null;

    // Perform actions based on whether an image is found
    if (hasImgTag) {
      // Perform actions for images
      aboutMeContainer.innerHTML = &#39;<p>This contains an image.</p>&#39; + aboutMeContent;
    } else {
      // Perform actions for text
      aboutMeContainer.innerHTML = &#39;<p>This is text: &#39; + aboutMeContent + &#39;</p>&#39;;
    }
  </img></script>
</b:includable>



html 3 ke result mile hai  noteable raw theme me jahn image ko image and text ko text bataya gaya hai 






niche diya gaya code #2 ke bare me hi hia yadi app preload ke sath lagana chahate hai apne code ko to niche diye gaye code ko lagaye thora better performance hoga 

HTML4
   <b:includable id='userProfileText'>
  <dd class='profile-textblock profile-snippet snippet-container r-snippet-container'>
    <div class='snippet-item r-snippetized' id='aboutMeContainer'>
      <data:aboutme/>
    </div>
    <div class='snippet-fade r-snippet-fade hidden'/>
  </dd>

  <!-- Add the following script to handle text and images -->
  <script type='text/javascript'>
    // Get the content from data:aboutme
    var aboutMeContainer = document.getElementById(&#39;aboutMeContainer&#39;);
    var aboutMeContent = aboutMeContainer.innerHTML;

    // Create a temporary div element to parse the HTML content
    var tempDiv = document.createElement(&#39;div&#39;);
    tempDiv.innerHTML = aboutMeContent;

    // Check if the content contains an <img> tag
    var hasImgTag = tempDiv.querySelector(&#39;img&#39;) !== null;

    // Preload images
    if (hasImgTag) {
      var images = tempDiv.querySelectorAll(&#39;img&#39;);
      images.forEach(function (img) {
        var link = document.createElement(&#39;link&#39;);
        link.rel = &#39;preload&#39;;
        link.as = &#39;image&#39;;
        link.href = img.src;
        document.head.appendChild(link);
      });
    }

    // Perform actions based on whether an image is found
    if (hasImgTag) {
      // Perform actions for images
      aboutMeContainer.innerHTML = &#39;<p>This contains an image.</p>&#39; + tempDiv.innerHTML;
    } else {
      // Perform actions for text
      aboutMeContainer.innerHTML = &#39;<p>This is text: &#39; + aboutMeContent + &#39;</p>&#39;;
    }

  </img></script>
</b:includable>

2.



HTML5
<b:includable id='userProfileText'>
          <dd class='profile-textblock profile-snippet snippet-container r-snippet-container'>
            <div class='snippet-item r-snippetized'>
              <data:aboutme/>
            </div>
            <div class='snippet-fade r-snippet-fade hidden'/>
          </dd>
        </b:includable>

uper ke code ke jagha niche ke code ko paste kar de 

HTML6
    <b:includable id='userProfileText'>
  <dd class='profile-textblock profile-snippet snippet-container r-snippet-container'>
    <div class='snippet-item r-snippetized' id='aboutMeContainer'>
      <data:aboutme/>
    </div>
    <div class='snippet-fade r-snippet-fade hidden'/>
  </dd>

  <!-- Add the following script to handle text and images -->
  <script type='text/javascript'>
    // Get the content from data:aboutme
    var aboutMeContainer = document.getElementById(&#39;aboutMeContainer&#39;);
    var aboutMeContent = aboutMeContainer.innerHTML;

    // Create a temporary div element to parse the HTML content
    var tempDiv = document.createElement(&#39;div&#39;);
    tempDiv.innerHTML = aboutMeContent;

    // Check if the content contains an <img> tag
    var hasImgTag = tempDiv.querySelector(&#39;img&#39;) !== null;

    // Preload images
    if (hasImgTag) {
      var images = tempDiv.querySelectorAll(&#39;img&#39;);
      images.forEach(function (img) {
        var link = document.createElement(&#39;link&#39;);
        link.rel = &#39;preload&#39;;
        link.as = &#39;image&#39;;
        link.href = img.src;
        document.head.appendChild(link);
      });
    }

    // Perform actions based on whether an image is found
    if (hasImgTag) {
      // Lazy load images
      images.forEach(function (img) {
        img.setAttribute(&#39;loading&#39;, &#39;lazy&#39;);
      });

      // Perform actions for images
      aboutMeContainer.innerHTML = &#39;<p>This contains an image.</p>&#39; + tempDiv.innerHTML;
    } else {
      // Perform actions for text
      aboutMeContainer.innerHTML = &#39;<p>This is text: &#39; + aboutMeContent + &#39;</p>&#39;;
    }
  </img></script>
</b:includable>

#3
hello

.hero-post-snippet.snippet-container{
font-size:14px;
max-height:112px
}
.hero-post-snippet .snippet-item{
line-height:2
}
.hero-post-snippet .snippet-fade{
height:28px
}
.hero-post-noimage-snippet.snippet-container{
font-size:14px;
line-height:2;
max-height:224px
}
.hero-post-noimage-snippet .snippet-item{
line-height:2
}
.hero-post-noimage-snippet .snippet-fade{
height:28px
}
.hero-post-noimage-snippet .snippet-item::first-letter{
font-size:56px;
line-height:normal
}

and this code 

.hero-post-snippet.snippet-container{ max-height:$(body.text.font.size * 4 * 2) } .hero-post-snippet .snippet-item{ line-height:$(body.text.font.size * 2) } .hero-post-snippet .snippet-fade{ background:-webkit-linear-gradient($startSide,$(heropost.main.background.color) 0,$(heropost.main.background.color) 20%,$(heropost.main.background.color.transparent) 100%); background:linear-gradient(to $startSide,$(heropost.main.background.color) 0,$(heropost.main.background.color) 20%,$(heropost.main.background.color.transparent) 100%); color:$(heropost.main.text.color); height:$(body.text.font.size * 2) } .hero-post-snippet a{ color:$(heropost.main.link.color) } .hero-post-noimage-snippet.snippet-container{ max-height:$(body.text.font.size * 8 * 2) } .hero-post-noimage-snippet .snippet-item{ line-height:$(body.text.font.size * 2) } .hero-post-noimage-snippet .snippet-fade{ background:-webkit-linear-gradient($startSide,$(heropost.secondary.background.color) 0,$(heropost.secondary.background.color) 20%,$(heropost.secondary.background.color.transparent) 100%); background:linear-gradient(to $startSide,$(heropost.secondary.background.color) 0,$(heropost.secondary.background.color) 20%,$(heropost.secondary.background.color.transparent) 100%); color:$(heropost.secondary.text.color); height:$(body.text.font.size * 2) }

 need to change in upper code like this


.hero-post-snippet.snippet-container {
  max-height: $(body.text.font.size * 3 * 2); /* Adjust max-height as needed */
}

.hero-post-noimage-snippet.snippet-container {
  max-height: $(body.text.font.size * 6 * 2); /* Adjust max-height as needed */
}


and

.hero-post-snippet.snippet-container {
  max-height: 84px; /* Adjust max-height as needed */
}

.hero-post-noimage-snippet.snippet-container {
  max-height: 168px; /* Adjust max-height as needed */
}

 uper diye gaye code ke according appko hight change karna hia only dono code me but not working for lcp




#4

niche diye gaye  code se 


  1. Fixed the URL parameters for loadScriptAsync and loadStylesheetAsync functions.
  2. Corrected the comments for better understanding.
  3. Ensured that the redirection to HTTPS is done correctly.

Please replace the placeholder URLs with your actual URLs as needed



<!-- Include the common code just above the closing </head> tag -->
<script>
  // Ensure the page is loaded over HTTPS
  if (window.location.protocol !== "https:") {
    // Redirect to HTTPS if not already
    window.location.href = "https://" + window.location.host + window.location.pathname;
  }

  // Asynchronously load JavaScript files
  function loadScriptAsync(url, callback) {
    var script = document.createElement("script");
    script.src = url;
    script.async = true;
    script.onload = callback;
    document.head.appendChild(script);
  }

  // Asynchronously load CSS stylesheets
  function loadStylesheetAsync(url, callback) {
    var link = document.createElement("link");
    link.rel = "stylesheet";
    link.type = "text/css";
    link.href = url;
    link.onload = callback;
    document.head.appendChild(link);
  }

  // Example Usage:
  // Load script1.js asynchronously
  loadScriptAsync("https://krishiinnovation.blogspot.com/script1.js", function() {
    // Code to execute after script1.js is loaded
  });

  // Load script2.js asynchronously
  loadScriptAsync("https://krishiinnovation.blogspot.com/script2.js", function() {
    // Code to execute after script2.js is loaded
  });

  // Load style.css asynchronously
  loadStylesheetAsync("https://krishiinnovation.blogspot.com/style.css", function() {
    // Code to execute after style.css is loaded
  });
</script>































































skill grow pro

.heroPost.noimage .big-post-title{
-webkit-box-flex:1;
-webkit-flex:1 0 auto;
-ms-flex:1 0 auto;
flex:1 0 auto;
max-width:480px;
width:480px
}



uper ke jagha me niche vala lagaye

.heroPost.noimage .big-post-title{
-webkit-box-flex:1;
-webkit-flex:1 0 auto;
-ms-flex:1 0 auto;
flex:1 0 auto;
max-width:300px;
width:300px
}


.heroPost .big-post-title h3{
margin:0 0 18px
}


body.item-view .Blog .post-title-container{
padding:62px calc((100% - 920px)/ 2) 18px




@media screen and (max-width:1280px){
.heroPost .big-post-image{
display:table-cell;
left:auto;
position:static;
top:auto
}

@media screen and (max-width:1168px){
.centered-top-container,.centered-top-placeholder{
padding:24px 24px 32px 24px
}



@media screen and (max-width:968px){
body{
font-size:$(body.text.font.size * 14 / 20)
}
.post-header-container .byline,.post-header-container .byline a{
font-size:14px
}
.post-title,.post-title a{
font-size:24px





.hero-post-snippet.snippet-container{
font-size:14px;
max-height:112px
}
.hero-post-snippet .snippet-item{
line-height:2
}
.hero-post-snippet .snippet-fade{
height:28px
}
.hero-post-noimage-snippet.snippet-container{
font-size:14px;
line-height:2;
max-height:224px
}





.heroPost .big-post-text{
background-color:$(heropost.secondary.background.color);
box-sizing:border-box;
color:$(heropost.secondary.text.color);
-webkit-box-flex:1;
-webkit-flex:1 1 auto;
-ms-flex:1 1 auto;
flex:1 1 auto;
min-width:0;
padding:48px
}

.heroPost .big-post-text .snippet-item::first-letter {
    color: $(heropost.secondary.dropcap.color);
    float: left;
    font-weight: 700;
    margin-right: 12px;
    font-size: 80%; /* You can adjust the percentage to make it smaller or larger */      (added new line)
}



.bg-photo-container{
height:$(body.background.height);
overflow:hidden;
position:absolute;
width:100%;
z-index:1
}
.bg-photo{
background:$(body.background);
background-attachment:scroll;
background-size:cover;
-webkit-filter:blur($(body.background.blur));
filter:blur($(body.background.blur));
height:calc(100% + 2 * $(body.background.blur));
left:$(0 - body.background.blur);
position:absolute;
top:$(0 - body.background.blur);
width:calc(100% + 2 * $(body.background.blur))
}
.bg-photo-overlay{
background:rgba(0,0,0,.26);
background-size:cover;
height:$(body.background.height);
position:absolute;
width:100%;
z-index:2
}

change above tode with down code 


:root {
  --bg-height: /* Set appropriate value */;
  --bg-blur: /* Set appropriate value */;
}

.bg-photo-container {
  height: var(--bg-height);
  overflow: hidden;
  position: absolute;
  width: 100%;
  z-index: 1;
}

.bg-photo {
  background: var(--body-background); /* Update with appropriate variable or value */
  background-attachment: scroll;
  background-size: cover;
  -webkit-filter: blur(var(--bg-blur));
  filter: blur(var(--bg-blur));
  height: calc(100% + 2 * var(--bg-blur));
  left: calc(0px - var(--bg-blur));
  position: absolute;
  top: calc(0px - var(--bg-blur));
  width: calc(100% + 2 * var(--bg-blur));
}

.bg-photo-overlay {
  background: rgba(0, 0, 0, 0.26);
  background-size: cover;
  height: var(--bg-height);
  position: absolute;
  width: 100%;
  z-index: 2;
}



paste this code in html layout add gdeget


<b:if cond='not data:view.isPreview'>
  <style type='text/css'>
    .bg-photo {
      background-image: url('<data:skin.vars.body_background.image/>');
      background-attachment: scroll;
      background-size: cover;
      -webkit-filter: blur(<data:skin.vars.body_background.blur/>);
      filter: blur(<data:skin.vars.body_background.blur/>);
      height: calc(100% + 2 * <data:skin.vars.body_background.blur/>);
      left: calc(0px - <data:skin.vars.body_background.blur/>);
      position: absolute;
      top: calc(0px - <data:skin.vars.body_background.blur/>);
      width: calc(100% + 2 * <data:skin.vars.body_background.blur/>);
    }

    .bg-photo-overlay {
      background: rgba(0, 0, 0, 0.26);
      background-size: cover;
      height: <data:skin.vars.body_background.height/>;
      position: absolute;
      width: 100%;
      z-index: 2;
    }
  </style>
</b:if>





.blog-name h1,.blog-name h1 a{
color:$(blog.title.color);
font:$(blog.title.font);
line-height:$(blog.title.font.size);
text-transform:uppercase
}

uper ke code ke jagha niche ka code paste kare site ka name 


:root {
  --blog-title-color: /* Set your color value */;
  --blog-title-font: /* Set your font value */;
  --blog-title-line-height: /* Set your line-height value */;
}

.blog-name h1,
.blog-name h1 a {
  color: var(--blog-title-color);
  font: var(--blog-title-font);
  line-height: var(--blog-title-line-height);
  text-transform: uppercase;
}







ya niche diya gaya code drop cap ke liye hai isme dono line me 4 ke jagha me 2 kar de size and line dono thik ho jayege 




.hero-post-noimage-snippet .snippet-item::first-letter{
font-size:$(body.text.font.size * 4);
line-height:$(body.text.font.size * 4)
}

add green, image ke jagha se hata kar text me dalne ke liye and system ui ko use kiya hai



.FeaturedPost h1, .FeaturedPost h3,body.feed-view .blog-posts,body.feed-view .feed-message{
margin-left:24px;
margin-right:24px
font-family: 'system-ui', sans-serif; /* 'system-ui' font family ka upayog */
}


and


.FeaturedPost h1, .FeaturedPost h3{
margin:16px 136px 8px 136px
}

 and

.hero-post-snippet.snippet-container{
font-size:14px;
max-height:112px
}
.hero-post-snippet .snippet-item{
line-height:2
}
.hero-post-snippet .snippet-fade{
height:28px
}
.hero-post-noimage-snippet.snippet-container{
font-size:14px;
line-height:2;
max-height:224px
}
.hero-post-noimage-snippet .snippet-item{
line-height:2
}
.hero-post-noimage-snippet .snippet-fade{
height:28px
}
.hero-post-noimage-snippet .snippet-item::first-letter{
font-size:56px;
line-height:normal
}

uper ke code ke jagha me ye niche diya code lagaye


.hero-post-snippet.snippet-container {
  font-size: 14px;
  max-height: 112px;
}

.hero-post-snippet .snippet-item {
  line-height: 2;
}

.hero-post-snippet .snippet-fade {
  height: 28px;
}

.hero-post-noimage-snippet.snippet-container {
  font-size: 14px;
  line-height: 2;
  max-height: 224px;
}

.hero-post-noimage-snippet .snippet-item {
  line-height: 2;
}

.hero-post-noimage-snippet .snippet-fade {
  height: 28px;
}

.hero-post-noimage-snippet .snippet-item::first-letter {
  font-size: 56px; /* Kam kiya gaya size */
  line-height: normal;
}



https://www.youtube.com/watch?v=Z1ie_mHaERQ&t=433s

Comments

Popular posts from this blog

ADD PRICE IN SARA PRODUCT SOLVED

 ₹0.00 bottle 1 ₹0.00art mein ek item hai, jiska naam hai "DISCOVER BEST BRAIN-BOOSTING MULTIVITAMINS: LATEST TOP RESEARCH". Is item ka price ₹0.00 hai, aur isme ek bottle shamil hai. Is item ko aapne ek baar add kiya hai, isliye total price bhi ₹0.00 dikha raha hai.ji per actual me ye product ka price 1200 hia jo ki cart me update nahi ho pa raha hai kaise karu thik se bataye meri bhasha me  mere cart product price add karne ka tarika bataye HTML ME PASTE KARE  <h2 class="premium multivitamins">            </h2>     <div class="mediculabs_product_item_price item_price show"><b>Price:</b><span class="mediculabs_product_price meta-price">65 INR./span&gt;</span></div>

sara remove powered by blogger in footer

💀 no line 8460 <div class='copyright-area'>Created By <a href='http://soratemplates.com/' id='mycontent' rel='dofollow' title='SoraTemplates'>Blogger Theme</a> | Distributed By <a href='https://gooyaabitemplates.com/' rel='dofollow' style='color:#ff00ba;' target='_blank' title='Blogger Templates'>Blogger Templates</a> 💀remove attribute and add html gadget in layout  paste this code there to add ur site logo there <div id="dynamicContent">     <a id="dynamicLink" rel='nofollow'>         <img id="dynamicImage" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdU5mO3u-x3u1kxj0JaU7qzjSZjMB8osCaoPfwGlc2Kx4mjKw3FHkGCjXQs2QZjzujuwZcyPkJABjHi8H8565xjzGFdb5EiwVdRS5LptVvpBdiEHsEIdouU8ALls0t61Kl-FadOnZBN-EUgrS-DZeI-8CYvdpR7TOj0JcZn1guY7RWAHBxOLmtjHaphlYE/s16000-rw/crop%20logo%20image%20side%20bar.png" alt=...

ai tool

 https://smodin.io/free-english-rewriter-and-spinner/ai-detection-remover ai detecter and removal https://originality.ai/blog/highlight-ai-text= for ai highlighter and affiliate marketing https://gptzero.me/  = ai writing detector and highlighter  https://www.zerogpt.com/           = ai content writer detector https://plagiarism-remover.com/humanize-ai-text/           = humanize writer