Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
Hi,
I am getting forward with my site trasition. Great job guys!
When opening my page www.art4u.photography on the computer I can see some text outside the top right side of the core page:
Site Heading
Site
Subheading
Can I get rid of this?
Thanks!
Wolfram
Offline
Masthead controls. Don't use the "profile" style; choose "banner" instead.
Offline
Yes, I had this before, but then I have the problem when shrinking the page (for ipad and iphone) the banner gets smaller and I get a white area below and above the banner. I would like to have it allways the same size, left top aligned. Is this possible, as I had it with the CE3?
Offline
To scale as you describe will require some custom CSS, implemented via PHPlugins. I've been planning to write an article about it, so I'll try to make that a priority for you.
In the meantime, "Banner" is what you want. Go ahead and setup Custom CSS now. Then you'll be ready to apply the changes when I've written things up.
Offline
Offline
Thank You very much, Matthew, I will give it a try.
br
Wolfram
Offline
Hello Matthew,
activated the phplugins.php, entered the following into the file:
@media only screen and (max-width: 1140px) { /* set max-width as width of masthead graphic */
.masthead .mantle {
float: left;
height: 0;
overflow: visible;
padding: 0;
padding-bottom: 20%; /* our height percentage, calculated by our ratio in Step 2 */
position: relative;
width: 100%;
}
.masthead .core {
height: 100%;
position: absolute; left: 0; top: 0;
width: 100%;
}
.masthead h1 {
background-position: center center;
background-size: cover;
height: 100% !important;
}
} /* max-width: 1140px */
But no change, it still resizes the banner (its aligned left) and gives me the white border on top and on bottom of the banner. Looks like I did something wrong!
Is it possible that the banner stays at the same size when I change the width of the browswer or at the ipad?
br
Wolfram
Offline
That code does not go into your phplugins file. It's css intended for your custom.css file.
Rod
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site
Offline
Pages: 1