Make WordPress Themes

Changeset 349596


Ignore:
Timestamp:
09/15/2026 02:19:52 PM (2 months ago)
Author:
iflairwebtechnologies
Message:

Improved section top padding when click and on mobile when click li then hide menu in mobile

Location:
modern-dental-clinic/2.2/assets
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • modern-dental-clinic/2.2/assets/css/main.css

    r349569 r349596  
    605605
    606606.mdclpt-features {
    607     padding: 60px 0;
     607    padding: 80px 0;
    608608    background: #f9f9f9;
    609609}
    … …  
    638638
    639639.mdclpt-services {
    640     padding: 60px 0;
     640    padding: 80px 0;
    641641    background: #fff;
    642642}
    … …  
    702702
    703703.mdclpt-team {
    704     padding: 60px 0;
     704    padding: 80px 0;
    705705    background: #f9f9f9;
    706706}
    … …  
    828828.mdclpt-testimonials{
    829829    background:#f0f8ff;
    830     padding:60px 0;
     830    padding:80px 0;
    831831}
    832832
    … …  
    863863
    864864.mdclpt-hours {
    865     padding: 60px 0;
     865    padding: 80px 0;
    866866    background: #fff;
    867867}
    … …  
    11231123
    11241124.mdclpt-pricing {
    1125     padding: 80px 0;
     1125    padding: 90px 0;
    11261126    background: #fafafa;
    11271127}
  • modern-dental-clinic/2.2/assets/js/navigation.js

    r349569 r349596  
    305305        });
    306306    });
     307   
     308    // Start :: On click redirect and hide mobile menu
     309    const menuLinks = document.querySelectorAll('#menu-dental-primary-menu li a');
     310    const closeButton = document.querySelector('#mdclpt-menu-close');
     311    menuLinks.forEach(function (link) {
     312        link.addEventListener('click', function () {
     313            closeButton?.click();
     314        });
     315    });
     316    // End :: On click redirect and hide mobile menu
     317
    307318})();
     319
Note: See TracChangeset for help on using the changeset viewer.