Align site logo Nav bar
-
We have been using Storefront for a few months now and are delighted with its page loading speeds and ease of use.
I now want to align the site logo with the main navigation but my CSS skills are little better than elementary.
I want the header on the pages to look like this https://snipboard.io/w95eKd.jpg
It would be great if you can assist in modifying my CSSThe existing CSS code I have on the site is as follows:-
p {
font-size: 1.125em; /* Equivalent to 18px */
} .site-header-cart .cart-contents {
font-weight: bold;
} .woocommerce-page .price {
display: none;
} .storefront-breadcrumb {
padding: 2.5em !important; /* Equivalent to 40px / margin: -2.5em !important; / Equivalent to -40px */
} .single-product .storefront-breadcrumb {
padding: 2.5em !important; /* Equivalent to 40px */
margin: 0 !important;
} @media screen and (min-width: 48em) {
/* Equivalent to 768px */
.woocommerce-active .site-header .site-branding img {
max-width: 50%;
} #masthead.site-header {
padding-top: unset !important;
}
} .site-header {
padding-top: 0.1875em; /* Equivalent to 3px */
} masthead.site-header { padding-bottom: 0;
} .site-branding {
padding-top: 0.45em; /* Equivalent to 15px */
margin-bottom: 0;
} @font-face {
font-family: 'icomoon';
src: url("/wp-includes/fonts/icomoon.woff2") format('woff2'), url("/wp-includes/fonts/icomoon.woff") format('woff');
font-weight: normal;
font-style: normal;
} .site-title,
.site-description {
display: none;
} @font-face {
font-family: 'roboto-v30-latin-regular';
src: url("/wp-includes/fonts/roboto-v30-latin-regular.woff") format('woff');
font-weight: normal;
font-style: normal;
} site-navigation-wrap .sub-menu li a { color: #FF0000 !important;
} ul.sub-menu {
background-color: #ABEA7C !important;
} .sub-menu a {
font-size: 0.9375em !important; /* Equivalent to 15px */
font-weight: bold !important;
} .main-navigation ul ul a:hover {
background-color: #FFFF00 !important;
color: #000000;
} .main-navigation a {
font-weight: bold;
font-size: 1.0625em; /* Equivalent to 17px */
} footer .site-info {
display: none;
} .site-search form {
display: none;
} masthead { position: fixed;
top: 0;
width: 100%;
} page { padding-top: 7.3125em; /* Equivalent to 117px */
} .footer-widgets {
padding-top: 0;
}The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Align site logo Nav bar’ is closed to new replies.