[4.x] Cassiopeia - logo/brand and navigation in one line #37963
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request for Issue # .
Summary of Changes
div container and additional class added in index.php
Testing Instructions
call website in frontend.
Actual result BEFORE applying this Pull Request
logo/brand and navigation are on top of each other
Static Layout
Fluid Layout
Expected result AFTER applying this Pull Request
using css it becomes possible to get logo/brand and navigation in one line. without css there is no difference in the display.
`.container-brand-nav {
display: grid;
margin-left: auto;
margin-right: auto;
max-width: 1320px;
width: 100%;
/* grid-template-columns: repeat(2, auto); */
grid-template-columns: 15em auto;
grid-column-gap: 1em;
grid-template-areas:
"brand nav";
}
body.wrapper-fluid .container-brand-nav {
max-width: none;
}
.container-header .container-brand {
grid-area: brand;
}
.container-header .container-nav {
grid-area: nav;
padding-top: 1.5em;
}
.container-header nav {
margin: .25em auto 0 0;
}`
Static Layout
Fluid Layout
in the future a template parameter and the css could be added to turn this on and off in the site template backend
Documentation Changes Required