Header Custom Content: How to align center with responsive
-
Another question:
I use “Header Custom Content” to add a custom page title (in h1 and h2-style for subpages). I want the title to be horizontally centered at the bottom of the header image, overlapping a bit. But the problem is how I can make it always stay in the center when having a smaller screen size?
I used this css:
.gch-header-content-frontpage h1 { text-align: center; background: #83B941; color: #fff; width: 395px; text-transform: uppercase; line-height: 3.9; margin: -134px 301px 42px 301px; z-index: 100; position: relative; font-size: 18px; font-size: 1.8rem; font-family: 'Titillium Web', sans-serif; }
But I think the (negative) margin-solution is not working. (I also want a background color so it looks like a box.)
https://www.ads-software.com/plugins/genesis-custom-headers/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Header Custom Content: How to align center with responsive’ is closed to new replies.