fix(theme): centre the contact cards, overlap the hero less, flat inputs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 16:32:56 +03:30
parent d0c48e0e8e
commit 98e706477c
4 changed files with 14 additions and 3 deletions

Binary file not shown.

View File

@@ -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;}

View File

@@ -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',

View File

@@ -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
*/