-
Hi there,
In the HTML, the site title and description is in one div, and the logo is in another div. I want to show the site title below the image logo (like an image caption) and then the site description to the left (or right) of the image. Is it possible to restructure the HTML like that (or achieve it by CSS)?
Best Regards,
Peter -
Hi Peter,
Give this this CSS a try:
.main-title { position: absolute; left: 0; bottom: 0; } .site-branding-container { position: relative; } .site-branding-container .site-logo { margin-bottom: 30px; //change 30px to the font-size of site title. }
-
Hi Ying,
Thanks for your reply. That helped!I want to position the site title centered relative to the logo. I find it hard to do that without having the site title HTML inside the logo HTML. Is that possible?
-
Can you re-attach your site link? I’ll take another look!
-
Sure. The test page is added to the private information.
-
It looks pretty centred since you adjusted the values.
https://app.screencast.com/LdeVfae57lqJ9
- You must be logged in to reply to this topic.