diff --git a/astra-child-hoponhopoff.zip b/astra-child-hoponhopoff.zip index 138abfa..79ac09b 100644 Binary files a/astra-child-hoponhopoff.zip and b/astra-child-hoponhopoff.zip differ diff --git a/astra-child-hoponhopoff/assets/pages-wp.css b/astra-child-hoponhopoff/assets/pages-wp.css index 9f66087..7eab344 100644 --- a/astra-child-hoponhopoff/assets/pages-wp.css +++ b/astra-child-hoponhopoff/assets/pages-wp.css @@ -49,3 +49,14 @@ body.hoho-fullwidth{overflow-x:hidden;} /* Server-rendered pager uses links where the mockup used buttons. */ .hoho-page.hoho-page a.pager__btn,.hoho-page.hoho-page a.pager__num{text-decoration:none;} + +/* Contact: centre the two cards (the design pushed them right) and let them + overlap the hero a little less. */ +.hoho-page.hoho-page .contactpage{margin-block-start:calc(var(--sp-6) * -2);} +.hoho-page.hoho-page .contactpage__grid{margin-inline:auto;} +@media (max-width: 68.75rem){ + .hoho-page.hoho-page .contactpage{margin-block-start:calc(var(--sp-6) * -1.5);} +} + +/* Form fields stay flat as in the design (Astra adds a shadow/border). */ +.hoho-page.hoho-page .rinput{box-shadow:none!important;border:0!important;} diff --git a/astra-child-hoponhopoff/functions.php b/astra-child-hoponhopoff/functions.php index c346f2a..5650a13 100644 --- a/astra-child-hoponhopoff/functions.php +++ b/astra-child-hoponhopoff/functions.php @@ -23,10 +23,10 @@ add_action( 'wp_enqueue_scripts', function () { if ( wp_style_is( 'astra-theme-css', 'registered' ) ) { $deps[] = 'astra-theme-css'; } - wp_enqueue_style( 'hoho-chrome', get_stylesheet_directory_uri() . '/assets/chrome.css', $deps, '1.0.10' ); + wp_enqueue_style( 'hoho-chrome', get_stylesheet_directory_uri() . '/assets/chrome.css', $deps, '1.0.11' ); // Header interactions: burger, submenu, sticky, back-to-top, search toggle. - wp_enqueue_script( 'hoho-chrome', get_stylesheet_directory_uri() . '/assets/chrome.js', array(), '1.0.10', true ); + wp_enqueue_script( 'hoho-chrome', get_stylesheet_directory_uri() . '/assets/chrome.js', array(), '1.0.11', true ); wp_add_inline_style( 'hoho-chrome', diff --git a/astra-child-hoponhopoff/style.css b/astra-child-hoponhopoff/style.css index f52d4d4..4c3301e 100644 --- a/astra-child-hoponhopoff/style.css +++ b/astra-child-hoponhopoff/style.css @@ -4,7 +4,7 @@ Theme URI: https://git.kaamyab.dev/vargha/TourWebsite Description: Astra child theme that replaces the Astra header and footer with the "Hop On Hop Off" design. Pairs with the Viator Collector plugin. Author: Amir Bagheri Template: astra -Version: 1.0.10 +Version: 1.0.11 Text Domain: hoponhopoff */