Skip to content

Author: lehtla_ep2oun

This author has written 3 articles
  1. Home>
  2. lehtla_ep2oun

Blogging 101

  • Post author:lehtla_ep2oun
  • Post published:02.05.2020
  • Post category:Blog

Pages vs. Posts If you're new to WordPress you may be wondering what's the big deal behind Pages and Posts. At first glance they appear to be one and the…

Continue ReadingBlogging 101

Basic Taxonomies

  • Post author:lehtla_ep2oun
  • Post published:02.05.2020
  • Post category:Blog

Categories and Tags If you write about a variety of subjects, categories can help your readers find the posts that are most relevant to them. For instance, if you run…

Continue ReadingBasic Taxonomies

Tips For Better Writing

  • Post author:lehtla_ep2oun
  • Post published:02.05.2020
  • Post category:Blog

Plan Your Content If you're considering adding a blog to your site, you'll want to have a plan beforehand. Planning your blog will help your subject matter remain consistent over…

Continue ReadingTips For Better Writing

Archives

  • May 2020

Categories

  • Blog

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright - WordPress Theme by OceanWP
(function() { 'use strict'; // Wait for DOM to load document.addEventListener('DOMContentLoaded', function() { // Select all parallax sections on page const parallaxSections = document.querySelectorAll('.parallax-section'); if (parallaxSections.length === 0) { // No parallax sections found - exit gracefully console.log('No parallax sections detected'); return; } // Listen for scroll events window.addEventListener('scroll', function() { const scrollY = window.scrollY; // Loop through each parallax section parallaxSections.forEach(function(section) { // Get speed from data attribute (default 0.5) const speed = parseFloat(section.dataset.speed || 0.5); // Get background image element const bgImage = section.querySelector('.parallax-bg'); if (bgImage) { // Move background at slower speed than foreground bgImage.style.transform = 'translate3d(0, ' + (scrollY * speed) + 'px, 0)'; } }); }, false); console.log('Parallax effect enabled'); }); })();