Site logo

Archived topic

how to move site title up or down in header

5 replies · Started by Ray on February 12, 2018

Viewing posts 1–6 of 6

Hello

I am using GP2 premium, and can't find the code
to move the site title down in the header. It is too
close to the top.

I used this for the site description, and it responds to the
different values I enter:

}
.site-description {
margin-top: 15px;
}

But I tried this for the title, and no response when I
put different values in:

}
.site-title {
margin-top: 20px;
}

I see some stuff online using "position, absolute", but
I know nothing about how to choose the right CSS.

TWO QUESTIONS:

How to move the site title up/down with CSS, and

Will it still render proportionately correct in mobile?

Thanks

Ray

Thank you Leo.

But when I use padding, my header Logo is no longer in the correct position,
as it moves with the site title.

Is it NOT appropriate to use CSS, or just best to try padding first?

And is it now best to use CSS to move logo to proper placement?

Sorry, I am totally new to CSS.

Nah I just thought you wanted to move them together.

This should move the site title down:

.main-title {
    padding-top: 20px;
}

Thanks Leo. That's the flex I was looking for.

Am looking at some CSS tips online, but really
appreciate the help!

Developer tool from your browser will be your best friend if you want to learn CSS :)

This archived topic is closed to new replies.