Skip to content

Center header #394

Answered by yhatt
pothitos asked this question in Q&A
Discussion options

You must be logged in to vote
<style>
header {
    right: 30px;
    text-align: center;
}
</style>

When using default theme, the header has the anchored positioning only to the left. By adding it to the right, the header element will become having full width and text-align: center will be working within that.

Related: #47

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pothitos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants