- This topic has 11 replies, 3 voices, and was last updated 2 years, 9 months ago by
Ying.
-
AuthorPosts
-
July 14, 2022 at 6:30 am #2282559
Christopher
July 14, 2022 at 11:54 am #2282898Ying
StaffCustomer SupportHi Chris,
The background color is showing correctly, you can see it clearer if I set it to red:
https://www.screencast.com/t/riyxTmixypIt doesn’t cover the entire text area, because you’ve set a negative margin-top for it, if you remove that margin, it should show normally.
July 14, 2022 at 12:41 pm #2282941Christopher
Thanks, but I need the margin to be set that way to overlap the white bottom part of the image. I would like it to be displayed exactly as it does in the editor pretty much.
July 14, 2022 at 12:56 pm #2282958Ying
StaffCustomer SupportThen wrap a container block outside the texts and add the negative top margin to the container instead of the headline block.
July 16, 2022 at 12:31 pm #2284724Christopher
Thanks,
Ive tried that but its still being displayed the same way, could you double check if ive done a mistake? I pretty much just removed the margin from the headline, put that headline into a new container and added the margin in that container.
Another quick question, Ive added an image as a logo under Site Identity to replace the text, but somehow its not aligned centered. Is that normal?
Cheers,
ChrisJuly 17, 2022 at 5:48 am #2285112David
StaffCustomer SupportHi there,
the Container block with the Headline, in its Spacing set the
z-index
to1
However are you trying to have this part of the image show a different background color?July 18, 2022 at 8:31 am #2286389Christopher
Thanks david, the z-index did the trick. I just wanted to overlap that part with the text background color and it worked with the z-index- cheers!
Any idea about this? Or should I do another thread for it?
“Another quick question, Ive added an image as a logo under Site Identity to replace the text, but somehow its not aligned centered. Is that normal?”I actually noticed that my “Montenegro Coworking space & live music bar” tagline was still showing up, once I hide it, the logo is cantered. I would like to keep the tagline though for SEO purposes with fully transparent / non-visible font. Or is that not good practice? I want to keep the header of the website as clean as possible, but want people to find the website if they search for any of the terms in the tagline.
I also noticed that it looks bad on mobile devices, see here: https://www.screencast.com/t/MpuBAyaPGT – is there any way I can add a margin for mobile views only to have more of a space between the top of the site and the logo?
Thanks,
ChrisJuly 18, 2022 at 9:07 am #2286449David
StaffCustomer SupportIf you want to stack the logo on top of the site tag line then try this CSS:
.site-header .site-branding-container { display: flex; flex-direction: column; }
July 18, 2022 at 3:07 pm #2286707Christopher
Thanks, I tried it but in the mobile view the logo is still stuck to the top :/
July 18, 2022 at 3:51 pm #2286747Ying
StaffCustomer SupportIt’s because the header paddings for mobile are set to 0:
https://www.screencast.com/t/j5a5CeoTdiTJuly 20, 2022 at 7:10 am #2288417Christopher
awesome, thanks!
July 20, 2022 at 9:47 am #2288740Ying
StaffCustomer SupportNo problem 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.