Commit graph

17 commits

Author SHA1 Message Date
Ben Dwyer
1e4cb5f7bd refactor FSE header templates 2021-01-20 11:18:26 +00:00
Maggie Cabrera
bbbac691da header for Balasana 2021-01-19 15:19:27 +01:00
Kjell Reigstad
fd4c213ec6 Tidy up into partials. 2021-01-12 08:59:15 -05:00
Kjell Reigstad
007f935b85 Begin refactor to more closely match #2985 2021-01-12 08:49:08 -05:00
Tony Arcangelini
79a4bc7d75
Varia: fix to add logic to prevent empty menu button (#2999)
* Add check for menu items to prevent empty menu button in mobile

* Fix spacing

* variable name change

Co-authored-by: Ben Dwyer <ben@scruffian.com>
2021-01-11 19:38:35 +01:00
Enej Bajgoric
1306582c8a Only add the container class if we are in the new enable_side_menu mode since it could casue issues with backwards compatiblity and css 2020-12-17 11:36:48 +01:00
Enej Bajgoric
70c96b52de Fix the menu container class. 2020-12-17 11:36:48 +01:00
Maggie Cabrera
3ab69f56ec changed default value for get_theme_mod 2020-11-11 13:10:17 +01:00
Maggie Cabrera
7a7ae0c509 fixed conditional class not working corectly 2020-11-11 09:57:33 +01:00
Ben Dwyer
952143998c stack the site logo on alves and hever 2020-11-06 11:34:30 +00:00
Ben Dwyer
2d41766043 update the header to add a custom logo class name 2020-11-06 09:51:23 +00:00
Milana Cap
4a3825a672
Add ‘wp_body_open’ hook.
Starting from WordPress 5.2 a new function is added – `wp_body_open()` – that is used to trigger a `wp_body_open` action. The function should be placed inside of the <body> tag immediately after it is opened.
2019-12-16 19:37:06 +01:00
Jacopo Tomasone
91bba0a24c
Full Site Editing: Stop using theme classes for template parts (#1517) 2019-11-04 16:29:25 +00:00
Jacopo Tomasone
6c1f6b6c72
Varia: Add basic styling support for Full Site Editing (#1332)
* Add the header and footer styles to `style-editor.scss`.

* Add the `.entry-content` class to the header and footer when in FSE context.

* Add some styles overrides for the FSE blocks in the header template.

* Adjust the Template block paddings.

* Stop `display: flex;` the footer to avoid incorrect positioning of the footer blocks.

* Add a responsive version of the main navigation, as featured in Varia and most Varia-based themes.
2019-08-29 15:00:59 +01:00
Jacopo Tomasone
c812316257
Full Site Editing: Add the Header and Footer template parts to the Varia front end (#1309) 2019-08-22 18:47:10 +01:00
Allan Cole
b14a1faa1a Renaming all references to _dsgnsystm strings to varia 2019-07-18 23:37:13 -04:00
Allan Cole
e2d0179c9e Rename _dsgnsystm directory to varia 2019-07-18 23:24:52 -04:00
Renamed from _dsgnsystm/header.php (Browse further)