Select the last items with nth-child in CSS
August 27, 2019
:nth-child Select the first list item li:nth-child(1) { } Selects the second element in a list li:nth-child(2) { color: lime; } Selects every fourth element… Read More →
August 27, 2019
:nth-child Select the first list item li:nth-child(1) { } Selects the second element in a list li:nth-child(2) { color: lime; } Selects every fourth element… Read More →
hover menu toggle with jQuery Go to the link and download superfish. Get the “superfish.min.js” from the “dist/js” folder https://superfish.joelbirch.design/ And also create another file… Read More →
August 18, 2019
Go to Admin > Stores > Configuration > Advance > Admin > Security Set “Admin Account Sharing” to Yes
August 17, 2019
Run the following code to fix the issue.. sudo -u www-data php bin/magento setup:di:compile
August 15, 2019
For an eCommerce store running on Magento 2, the checkout page is the culmination of the customer journey. A smooth, functional checkout process is critical… Read More →
August 14, 2019
include() all PHP files from a directory <?php foreach (glob(“system/lib/*.php”) as $filename) { include $filename; } ?>
August 13, 2019
Your store’s logo is the cornerstone of your brand identity. In Magento 2, changing the logo—whether in the header, email templates, or admin panel—is a… Read More →
August 13, 2019
Remove page title Create a cms_index_index.xml file in “/app/design/frontend/(vendor)/(theme)/Magento_Theme/layout” and paste the following code – <?xml version=”1.0″?> <!– /** * Copyright © 2016 Magento. All… Read More →
August 7, 2019
You can add a class to an HTML element using JavaScript by using the classList property. The classList property provides methods for working with the… Read More →
Change Customer Login Title in Magento 2 Create a customer_account_login.xml file to change title of customer login For theme – app/design/frontend/{Packagename}/{themename}/Magento_Customer/layout/customer_account_login.xml For module – app/code/{Package}/{Module}/view/frontend/layout/customer_account_login.xml… Read More →