CMS Development

IMcGriff
Member

Global Header CSS Help

SOLVE

Looking to place two images/logos on the same line in the global header. 

Not sure how to effectively edit this to have both shows.

The below is what I have this far. It's, obviously, not the correct end product.

Any help is welcome.

 

<!--
templateType: global_partial
label: Page Header
-->
<header class="custom-header lp">
<div class="header-group">
<div class="header__container">
<div class="header__logo">
<div class="logo-inner">
<span class="image-frame">
{% module "header_logo" path="@hubspot/logo", label="Header Logo", link="https://actstageenv.wpengine.com/",img={src="{{ get_asset_url('../../images/Untitled-design-17-1.png') }}", width= 1000, override_inherited_src=true, alt= {{ "act research logo" }}} %}
</span>
</div>
</div>
<div class="header-group">
<div class="header__container">
<div class="image-frame">
<span class="image-frame">
{% module "image-frame" path="@hubspot/logo", label="Header Logo", link="https://f.hubspotusercontent30.net/hubfs/5479836/Logo%20and%20Branding-07.png/",img={src="{{ get_asset_url('../../images/Untitled-design-17-1.png') }}", width= 1000, override_inherited_src=true, alt= {{ "act research logo" }}} %}
</div>
</div>
</div>
</div>
</div>
</header>

0 Upvotes
1 Accepted solution
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Global Header CSS Help

SOLVE

@IMcGriff one way to do it is to use flexbox on the parent div so something like this:

.custom-header { display: flex; align-items: center; }

 

Stefen Phelps, Community Champion, Kelp Web Developer

View solution in original post

3 Replies 3
jonchim
Guide | Diamond Partner
Guide | Diamond Partner

Global Header CSS Help

SOLVE

@stefen too quick!






Jon Chim
VP of Design & Development
Hypha HubSpot Development


check Did my post help answer your query? Help the Community by marking it as a solution
stefen
Solution
Key Advisor | Partner
Key Advisor | Partner

Global Header CSS Help

SOLVE

@IMcGriff one way to do it is to use flexbox on the parent div so something like this:

.custom-header { display: flex; align-items: center; }

 

Stefen Phelps, Community Champion, Kelp Web Developer
dennisedson
HubSpot Product Team
HubSpot Product Team

Global Header CSS Help

SOLVE

Hello @IMcGriff 

Do you have any more details that you could show us?  Maybe a mock of what you are going for?  Also, if you have a link to a demo page that has the on it, that would also be helpful.

@stefen , @jonchim might be able to help 😀

0 Upvotes