Jump to content

I want to display both logo and text in site banner. Works on desktop, not on mobile. Help would appreciated.

Recommended Posts

Site URL: https://www.questiongamification.com

I've been looking into some custom CSS to display both my logo and the site title in the site header. I got it to work on desktop using this code, but because it does not have enough space on the mobile header it ends up pushing my header categories off screen. Could anyone help me figure out how to achieve the same thing without screwing up my site's mobile version?

.header-title-logo a:after {
    content: "Gamification of Education";
    display: inline-block;
    font-size: 20px;
    font-family: Poppins;
    color: black;
    text-align: center;
    vertical-align:middle;
    font-weight:900;
    padding-left: 555px;
}
.header-title-logo img {
    vertical-align: middle;
}

See pictures below for what I want in desktop and mobile if possible (included from desktop as that works fine). The other pictures are of the mobile header and the way the text interferes with it.

result mobile.png

Mobile before.png

What I want.png

Link to comment
  • 2 weeks later...
  • Replies 1
  • Views 209
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.