Archived topic
How to put the cart Icon in Header
5 replies · Started by Craig on April 16, 2022
Hi Guys
I would like the cart Icon to appear to the right of the login|Register.
Can you assist with this
Kind regards
Craig
Hi there,
in Yings reply here she provides the PHP Snippet to create your own shortcode.
Then go to Appearance > Elements and edit the LoginRegister Hook and add the Shortcode there
Thank you David that is great. Please can you assist me with a little ccs that would on a Mobile, position the logon | Register on the left and the cart on the right both on the same line
Thank you so much
Hi Craig,
Try this CSS:
@media (max-width: 768px) {
.site-header .inside-header {
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
}
.site-logo {
margin-left: auto;
margin-right: auto;
}
}
thank you Ying.
Much appreciated
You are welcome :)