New answers tagged

0

you have an issue with your default_head_blocks.xml do like this : <?xml version="1.0"?> <!-- /** * Copyright © 2015 Magento. All rights reserved. * See COPYING.txt for license details. */ --> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/...


0

Following should be done : For server end: -- Varnish -- make sure most of the pages are delivered from varnish Cache. For Front end: 2. CDN: for JS, CSS, and Media use of CDN will reduce hop time which in turn means faster pages. Critical CSS Remove unwanted JS using requierJS and Require config JS. Differ JS or Async objective load it as late as ...


0

I have changed the following files: app/design/frontend/smart_media/smart_media1/web/css\themes.less and app/design/frontend/smart_media/smart_media1/web/css/themes.css__ After that it worked.


0

Thanks for your comment. I could find a similar file themes.less in app/design/frontend/smart_media/smart_media1/web/css I have done the same changes and upload the new less file via ftp but there are still no changes. Where can I find it in the backend? Hope someone can still help me there. kindly regards


0

require([ 'jquery' ], function ($) { jQuery(document).ready(function () { $(window).scroll(function(){ var sticky = $('header.page-header'), stickyMenu = $('nav.navigation'), scroll = $(window).scrollTop(); if (scroll >= 180){ sticky.addClass('fixed'); stickyMenu....


3

.click events only work when an element gets rendered and are only attached to elements loaded when the DOM is ready. .on events are dynamically attached to DOM elements, which is helpful when you want to attach an event to DOM elements that are rendered on an ajax request or something else (after the DOM is ready).


Top 50 recent answers are included