Skip to content

logo in the header and the space between homeinfo and the first post #547

Answered by pixelfabs
1mfaasj asked this question in Q&A
Discussion options

You must be logged in to vote

I'm wondering how to add an image/logo to the header? see: https://ibb.co/pzScvKc

That's quite a task. The section you're referring to is not as simple as it seems. It holds the theme toggle switch, links you can define via config file (menu: whatever) and language switch links. It uses CSS flex box which adjust depending on screen size. My advice: just don't, You add more than 3 items, it doesn't look great on mobile devices. Remove stuff, it breaks. The theme toggle switch for example is 2 parts, one part in header.html and the other in footer.html

I made a new flex box container underneath the default one and while it takes a bit more space, it definitely doesn't break things and far…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 1mfaasj
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