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.
Thanks a lot Rod, I’ll give that a go, great help as always!
Hi Rod, ideally I want them to be centred on a desktop display, or alternatively the social icons moved left slightly so they align with the edge of the filmstrip - if I turn my ipad to portrait orientation everything centres perfectly.
Thanks
Steve
Thanks Rod, I've corrected those errors. The line "padding: 0 4px;" is commented out at the moment, it mades two of the icons drop down below the others. I can't get the block of icons where I want them to be though!
Steve
Having had a bit of a wild goose chase making this work on my iPhone yesterday (successfully!) I'm just puzzling over one or two desktop formatting issues for the footer. I'm very new to CSS and picking my way through it so sorry if there's something obvious here that I'm missing.
The footer is formatted perfectly when viewed on an iphone/ipad in portrait orientation, with the copyright text and social media icons centred: https://www.adecentexposure.co.uk
What I want to do is replicate that presentation on the desktop display, rather than having the copyright text to the left and the social media icons to the right. Alternatively I want to have the social icons more aligned to the right (so they're level with the fimstrip above). I think my CSS is pretty much as Rod's example, I've played around with some of the float and align settings but can't get this to work the way I'd like to:
footer {
background-color: #70bcea;
border-top: 1px solid black;
text-align: center;
}
.social-media-profiles ul {
float: left;
margin: 0 auto 1.5rem;
max-width: 157px;
padding: 0;
position: relative;
}
.social-media-profiles ul li {
float: right;
list-style-type: none;
/*margin: 0 4px 4px;*/
margin: 0 4px 4px;
padding: 4 4px;
background-color: #70bcea;
border-radius: 6px
}
.social-media-profiles a.social_media {
text-decoration: none;
color: white
}
#footer {
padding: 12px 0;
}
@media screen and ( max-width: 1023px ) {
#footer {
padding: 0 4px 12px;
}
#footer p {
text-align: center;
}
.social-media-profiles ul {
float: none;
}
}
Thanks, great is someone could point me to what I should be looking at. https://www.adecentexposure.co.uk
Steve
Really odd - it's working ok now. Thanks again for looking Rod!
Thanks for looking Rod. That's not the same for me and I've cleared the cache as well - mine's an iPhone 7, which one are you using?
Steve
Thanks Rod, I was looking at media query but couldn't make it work in the iphone - had some success with it on the ipad (when turned to portrait orientation) though.
https://www.adecentexposure.co.uk
Thanks
Steve
I've been fiddling around with my masthead this morning, I've now run out of work to do
I've got a background gradient in the masthead and my transparent logo sits over that:
header{
background: linear-gradient(white,#70bcea);
}
Now this works absolutely fine for desktop and ipad displays, but the gradient doesn't show up on an iphone. Could anyone point me to a CSS tip so I can get this to work on a mobile display please?
Thanks
Steve
That's a good idea! Thanks Rod, I'll give that a go now and see what it looks like.
Steve
Thanks Rod & Jim!
Wondering if a bug has crept in because I didn’t remember seeing this when I was initially setting the site up, but perhaps it’s always been like that? I was hoping that the album would be constrained to match the copy width, but overall I like the look better than having the masthead constrained, so I’ll stick with it and republish the gallery images to remove the border.
Jim, thanks for the point re the left and right padding, I was just about to see what was causing that gap!
On an iPad /iPhone it looks fine. Thanks again for taking a look.
Steve
Hi Rod,
link here: https://www.adecentexposure.co.uk
Tried changing the Galleria template Target setting, that tames it a bit but all the page copy disappears! I've left the site set to:
Layout>Max Width=2560
Content Area>Main Copy>Max Width=1540
Steve
Thanks Rod,
So I've set the layout to max width and Content Area to 1150. There's no change to the size of the galleria album so it's still extended to the width of the screen (the same as the masthead). The text in the content area is reflecting the 1150px width though.
Is there anything I need to change in the galleria template? I can't see anything there that would reduce the width.
Steve
My website is getting a bit of attention today (more like fiddling to be honest because I've now run out of paid work to do).
I'm getting a bit lost with trying to get my masthead to go across the entire width of the screen (on an iMac).
The masthead graphic dimensions are 1920px x 190px
The template layout max width is set at at 1150px so of course it clips the masthead and there's white space either side of it. If I increase the max width to 1920px then the masthead graphic fills the screen width, but the embedded galleria slide show is now too large, so there's a lot of wasted space.
So the question is, can I do anything to JUST make the masthead extend across the width of the screen without changing anything else? If this needs to be done with custom CSS, if anyone could give me some pointers re what to look at then that would be really helpful.
Steve
I;m sure I had this recently and you have to log out of the backlight console to make it update...I think
Really useful, I'll have a dig around. Thanks again for sharing this Rod.
Steve
Thanks Rod, I’ll give these a try, I think using the page template will work ok. I shot an event last weekend and this was the first time I’ve put a live gallery up under backlight, so looking at fine tuning following customer feedback.
All of the css properties are a bit of a mystery at the moment, is there a list of them anywhere? Because of cancelled jobs (for the next three months by the look of it) I’ve got plenty of free time to get my head around this.
Steve
Thanks Rod, i’m sure in CE4 for a multi page gallery the numbers shown across the top (and bottom) were highlighted to show the active page number? That’s what I need to replicate.
Steve
Perfect, thanks Rod!
.gallery figure:hover did the job.
One more question, a lot of my albums have up to 15 pages. What's the css to highlight the page number please?
Steve
Thanks Daniel,
So I’ve added to my custom css:
.albums figure a:hover {
background-color: green;
}
works perfectly for the albums, but not for the image thumbnails ( so when I click on an album to open it, the thumbnails don’t change on hover). Any advice on what to add to get the thumbnails to change would be great!
Steve
Thinking back to my old CE4 site, when there was a mouseover in a gallery the thumbnail's background border used to change (to a lighter colour). I remember mentioning this some time ago and Rod suggested this could be implemented via CSS.
Has anyone done this in Backlight? How should I go about it please?
Steve
Thanks Rod, that’s perfect and works fine!
At some point I’d like to refine it so only the text colour changes, but this is great for now!
Steve
Hope someone can give me a pointer here. My main menus all change colour when there's a mouseover. However I have a couple of menus with submenus, and these don't change at all when the mouse is hovered over them.
Might be something obvious I'm missing but assuming this is something that needs phplugins or CSS. Where do I start with this?
Steve
That did it, thanks Rod! I’ll have a play around with it.
Thanks for putting the guide up as well, really useful.
Steve
Looking for a bit of CSS help here please! I've just followed Rod's guide on putting the social media icons into the footer. All working fine on an iphone which is encouraging so at least I can see something is working as it should.
On a desktop or an ipad though, the social icons appear as a bulleted list below each other, and the colours don't come through (they're grey). What am I missing here? I'm not at all experienced with CSS by the way, so go easy
CSS is as per Rod's guide:
/*Custom footer with Pangolin social media code*/
.pages-template-id-64 footer {
background-color: white;
border-top: 1px solid black;
}
.social-media-profiles ul {
float: right;
margin: 1.5rem auto;
max-width: 157px;
padding: 0;
position: relative;
}
.social-media-profiles ul li {
float: left;
list-style-type: none;
margin: -8px 4px 4px;
padding: 0 4px;
background-color: #71bdeb;
border-radius: 6px
}
.social-media-profiles a.social_media {
text-decoration: none;
color: white
}
@media screen and ( max-width: 1023px ) {
#footer {
padding: 0 4px 12px;
}
#footer p {
text-align: center;
}
.social-media-profiles ul {
float: none;
}
}
Steve