upskill-event-manager/scripts/deploy-child-theme-css.sh
bengizmo cee8c22063 fix: Force hide filter modal on mobile with inline !important styles
- Added display:none !important, visibility:hidden !important, opacity:0 !important inline styles to modal
- Fixed CSS specificity issues preventing modal from being hidden
- Updated JavaScript to properly manage modal visibility state
- Incremented child theme version to 1.2.0 for cache busting

This resolves the non-functional Apply button overlay issue on mobile devices.
2025-08-11 11:59:15 -03:00

27 lines
No EOL
750 B
Bash
Executable file

#!/bin/bash
# Deploy child theme CSS to production
echo "Deploying child theme CSS to production..."
# Create a tar archive of the CSS files
tar czf /tmp/child-theme-css.tar.gz -C astra-child-hvac css/
# Upload to server
scp /tmp/child-theme-css.tar.gz benr@146.190.76.204:/tmp/
# Extract on server
ssh benr@146.190.76.204 << 'EOF'
cd /home/974670.cloudwaysapps.com/ncjzsayvsk/public_html/wp-content/themes/astra-child-hvac
tar xzf /tmp/child-theme-css.tar.gz
rm /tmp/child-theme-css.tar.gz
echo "Child theme CSS deployed successfully"
# Clear cache
cd /home/974670.cloudwaysapps.com/ncjzsayvsk/public_html
wp cache flush
EOF
# Clean up local temp file
rm /tmp/child-theme-css.tar.gz
echo "Deployment complete!"