Localize header image and add alt text
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
f09b4d7837
commit
3f5f9e3123
BIN
assets/images/logo-wordmark.png
Normal file
BIN
assets/images/logo-wordmark.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.1 KiB |
@ -1,12 +1 @@
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|70","left":"var:preset|spacing|70","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"border":{"bottom":{"color":"var:preset|color|main-purple","width":"3px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group"
|
||||
style="border-bottom-color:var(--wp--preset--color--main-purple);border-bottom-width:3px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--70)">
|
||||
<!-- wp:image {"lightbox":{"enabled":false},"id":10,"width":"110px","sizeSlug":"full","linkDestination":"custom"} -->
|
||||
<figure class="wp-block-image size-full is-resized"><a href="/"><img
|
||||
src="http://localhost:8888/wp-content/uploads/2024/05/logo-wordmark.png" alt="" class="wp-image-10"
|
||||
style="width:110px" /></a></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:navigation {"ref":6,"overlayBackgroundColor":"background","overlayTextColor":"main-purple","layout":{"type":"flex","justifyContent":"left"},"style":{"typography":{"fontSize":"18px"}}} /-->
|
||||
</div>
|
||||
<!-- /wp:group -->
|
||||
<!-- wp:pattern {"slug":"/header"} /-->
|
15
patterns/header.php
Normal file
15
patterns/header.php
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/**
|
||||
* Title: header
|
||||
* Slug: /header
|
||||
* Categories: hidden
|
||||
* Inserter: no
|
||||
*/
|
||||
?>
|
||||
<!-- wp:group {"style":{"spacing":{"padding":{"right":"var:preset|spacing|70","left":"var:preset|spacing|70","top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"border":{"bottom":{"color":"var:preset|color|main-purple","width":"3px"}}},"layout":{"type":"flex","flexWrap":"nowrap","justifyContent":"space-between"}} -->
|
||||
<div class="wp-block-group" style="border-bottom-color:var(--wp--preset--color--main-purple);border-bottom-width:3px;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--70);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--70)"><!-- wp:image {"lightbox":{"enabled":false},"width":"110px","sizeSlug":"large","linkDestination":"custom"} -->
|
||||
<figure class="wp-block-image size-large is-resized"><a href="/"><img src="<?php echo esc_url( get_stylesheet_directory_uri() ); ?>/assets/images/logo-wordmark.png" alt="Lex Scotland: Living, Leading, Changing" style="width:110px"/></a></figure>
|
||||
<!-- /wp:image -->
|
||||
|
||||
<!-- wp:navigation {"overlayBackgroundColor":"background","overlayTextColor":"main-purple","layout":{"type":"flex","justifyContent":"left"},"style":{"typography":{"fontSize":"18px"}}} /--></div>
|
||||
<!-- /wp:group -->
|
Loading…
Reference in New Issue
Block a user