I’d like to center the header logo (which is currently just a title on my site). I figured that using “text-align: center” should have done the trick, but it didn’t:
I know I’m controlling the right element because I can make the title disappear by using “display: none”. Also, I can move the title manually to the middle with “padding-left”, but that changes the spacing on mobile drastically and makes the site unusable. Can you help me center the title properly?
I’ve turned the Team section into a contact section, using a text widget and a form from Contact Forms 7. I’m wondering if there’s any way to make the text larger under the Title, which currently reads “WE LAUNCH SOON”. The text in the Entry box underneath is very small, and I’d love to be able to enlarge it.
I tried using the “font-size” command in CSS to make it bigger, but that only affects the Contact Form itself, not the text above it.
Website is sightsee.world, for reference. Thanks a lot!
First you need to make sure that you have a child theme. After you will need to go in Appearance>Editor and edit the file Theme Header (header.php) by replacing <div class="col-sm-2 col-xs-8"> with this <div class="col-sm-12">
After you can play also with the padding-top to fix it where you want it:
#header .top-header .header-logo}
padding-top:80px;/*put here how much do you want*/
}
Thanks a lot, Cristian! I appreciate the reply. The title is centered now.
Any idea how I might enlarge that text in the Entry field of the “Team” section? The section that starts with “Want to get involved?”
One final question, if you have the time:
Is there any way to specify which part of the header image displays on mobile devices? I’ll attach a screenshot of what the site currently looks like on an Android device. It would be great if I could show the lower half of the photo (showing the girl in the red shirt) instead of just the trees up above her.
I did a workaround, so I won’t need to enlarge that text section after all.
However, I’d still love to find a way to display the lower half of the header image on mobile, if it’s possible
Also, if you’ve ever been asked this: I’m trying to get my contact form to align properly on mobile. I’m using Contact Forms 7. I’ve tried many different fixes in CSS (from various sources on the internet), but the form is still slightly to the right of the screen on mobile devices. On desktop it’s centered correctly.
I’d be super grateful if you knew how to fix that. Cheers!