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.
can you direct us to a page where this is happening?
Not sure what you mean by this.
Changing the Negative Space from "On" to "Off" has no apparent effect on the appearance of my web pages, regardless of size (within the limits of my screen). It did at one point, but that seems to have disappeared, probably because of other changes I made.
Added: I can get black left and right borders if I want, but I have turned that off.
Thanks, Rod. You've been a great help to me while I rework my website with Backlight. There is still much to be learned on my part.
I tried Shadows on and off, but it didn't seem to make any difference.
How do I get rid of the text "Galleries v" above my column text on the page http://charking.com/galleries/? I think it's a breadcrumb but can find no controls in Backlight relating to it.
I have always set shadows to "Off". What do you mean by your question?
Thank you, Matthew. I implemented your code and it worked. One difference: I had to set the opacity value in your rgba statement to 0 so that my background texture would match that in my slide show.
One question: What are the effects of the Negative Space on/off settings overall? I had mine set to "Off" to avoid the default demarcation lines on the left- and right-hand sides of my web site. Following your instructions above, I set the value to "On" and the border lines widths to 0px to get the same effect as with the off setting.
Thanks for the suggestion, Rod. One last thing, my selectors are now set up as follows:
main, .page__main, nav, #primary-menu li, .page__column.page__tray, ul#primary-menu, .masthead, .footer {
background-color: transparent;
}
html, body, main, .masthead, .footer {
. . . etc.Once I used Backlight to change my background colours to what I had before, #fafafa, I noticed the masthead and footer were now a solid colour. I added ".masthead" as a selector and that worked; but "footer" would not. Nor would ".footer" or "#footer". I had to set the footer background colour to transparent, and that seems to work now.
I just removed the period before "footer".
Implemented the following code. Appears to be working.
@media (min-width: 500px) {
main, .page__main, nav, #primary-menu li, .page__column.page__tray, ul#primary-menu, footer {
background-color: transparent;
}
html, body, main, footer {
background-attachment: scroll;
background-image: url(../images/background.jpg);
background-position: center top;
background-repeat: repeat;
}
}I discussed this with Matt. There are very good reasons why transparency can't be set in the Backlight interface for the main content area, column trays, and navigation: Madness ensues upon the site going responsive for mobile devices.
So if you use the above CSS, place it in a media query that applies it only to desktop sizes.
Your code did work. Thank you very much. I am now digesting what you just said. The main column colour is set to transparent in my Backlight; but from what you said earlier and above, it doesn't really affect the actual code on my web site. I haven't checked my other settings yet, but I did change them all to transparent yesterday.
Correct me if I am wrong; but it appears to me that I should simply set my background colour back to #fafafa as I had it before in Backlight and put your code above and mine referencing the background jpeg in the media query. That way your transparency code and the background will apply only to the desktop, while a mobile device will have an off-white background.
all of the section ids are in XML files
No, just css files.
I made that comment because when I searched the code on my web site for the key words "section id", only 4 out of 38 were in HTML files; the rest were in XML. I had wanted to use the IDs as selectors in my custom code, but that didn't work. I'm still learning how to code html and css stuff. Your code appears to be using class and type as the selectors.
Your code worked like a charm. There appears to be a very faint difference in the image intensity in the navigation bar and the footer, but they do contain the background texture.
This also enables me to easily switch backgrounds by simply adding another background jpeg to my web site and switching to it in the css code.
Thanks for all your help, Rod.
Thanks, Rod. You've been a great help. I'll try this tomorrow morning (my time).
Actually the masthead doesn't always seem to come out how I want it.
Actually, I should probably take this back. One thing though, I have lost the background texture in Photoswipe, given the * selector, which I thought was nice to have.
Thanks, Rod. As soon as you mentioned "transparent" I knew that was the answer to my problems. However, you are right; I am having a problem with the navigation header and maybe the footer (its pattern lacks consistency with the other elements). I added the .page_main code; what should the selector be for the navigation header and the footer?
By the way, this is a good example of the need for a global setting in Backlight; I must have made over 20 settings of background color to transparent.
My web site is up and running the way I want it, opening video and all. I can now get back to my photography and create more galleries. The only remaining item is my background texture. If my review of HTML and CSS as well as the Backlight framework is correct, all of the section ids are in XML files so that selectors such as "html, body, main" do not work. What does work is the following code:
* {
background-attachment: scroll;
background-image: url(../images/background.jpg);
background-position: center top;
background-repeat: repeat;
}However, this puts my background texture everywhere, and I do mean everywhere. The one issue I have with this is that it puts the texture into the space in the thumbnail frames. These I want to be white. Any suggestions?
Pleas take a look at www.charking.com.
No grey bar. Seems to have disappeared after I implemented the centering code you gave me.
Ah, ok. Yep, that was the hex value for the background color in your custom css.
Except that my custom css has been totally commented out and the background colour of #fafafa is still there. Please see my response earlier to Daniel Leu.
charking wrote:What are we supposed to be looking at in those images?
The ColorPic software provides the hex value of the colour on the screen over which the cursor is hovering. The small square in the pane at the bottom of the ColorPic window (identified as the Magnify pane) indicates where the cursor was when I took the reading, and the hex value of that spot on the screen is provided in the Color pane towards the top of the ColorPic window.
I've looked in several browsers. I'm no longer seeing the gray bar on the left
I noticed that myself. I think the bar to which I was referring disappeared when I implemented the centering code you gave me, an unexpected but happy side-effect.
Yeah, the gray is not gone because the offending code is still in place. If you comment it out it should look like
/* html, body, main { background: linear-gradient(90deg, #e0e0e0 50%, #fafafa 50%, #fafafa); } */
This is what is on my web site, unless there is another custom.css file I am missing.
/*
html,
body,
main {
background: linear-gradient(90deg, #e0e0e0 50%, #fafafa 50%, #fafafa);
}
*/
/* Change CRG Select and Feedback Icons */
/*
figure button.crg-select.off::after,
.crg-modal button.crg-select.off::after,
.pswp__button--crg-select.off::after {
content: "\f10c";
}
figure button.crg-select.on::after,
.crg-modal button.crg-select.on::after,
.pswp__button--crg-select.on::after,
.crg-status li a[data-level="off"]::before {
content: "\f058";
}
figure button.crg-feedback::after,
.pswp__button--crg-feedback::after {
content: "\f044";
}
*/Added after initial posting: This is the address I am referring to:
Unless things have changed significantly since the last time I checked in on HTML5 video, your simple video element isn't going to cut it. HTML5 video is hugely complicated. Here's a random tutorial:
http://www.html5rocks.com/en/tutorials/video/basics/
I can't disagree, Matthew. I threw something together and it "worked". It is by no means complete because it allows for only mp4 videos. I would not consider it solid code but only the beginning. Thanks for the link.
Added after initial posting: I was looking for the right word and just thought of it. My video code as it stands now is not robust. It could easily break, but it is a starting point.
Sorry, Rod, but the grey is not gone. I have cleared the cache twice in two browsers, Opera and Chrome, and rebooted as well. Please see the attached images.
[img=Outside]Z:\Storage\Miscellaneous Images\Curser_above_Amor_de_Dios_box.png[/img]
[img=Inside]Z:\Storage\Miscellaneous Images\Curser_in_Amor_de_Dios_box.png[/img]
I get the same results in both browsers.
Added after initial post: I don't know if you can see the images. I've never posted images on this site before. I can put them on my web site and give you a link.
I commented out the css code and the grey is still there, so it must be coming from the Backlight settings. I'm not sure how the css code got there because i didn't set it. And when I went through all the Backlight colour settings I definitely got a change in the shade of grey. I did it at least three times to arrive at the current shade of grey.
Needed width. This worked:
<div style="width: 854px; margin: 0 auto;">
This also worked (tried it first, but went back to the simpler code based on your suggestion):
<div style="width: 854px; margin-left: auto; margin-right: auto;">
In respect to the colours, there are many such settings throughout Backlight and it is not always clear as to the effect of each setting without testing. To be sure, I modified every one I could find; probably overkill, but it worked.
This works in the Windows browsers; but when I check my cell phone (Android), the slide show first appeared as a black rectangle and now doesn't appear at all. When it did appear there was no way to start the slide show as had been enabled under CE4. I have suppressed the controls for the video so that it doesn't mess up the browser screen in Windows; this appears to affect the Android presentation.
Any suggested solutions? Will Stages, yet to be released for Backlight, help me fix this issue?
Another, much less important issue, is that if you enlarge the browser window far enough, a grey bar appears on the left-hand side. How do I get rid of it?
Any suggestions on these remaining items?
To get that grey (or off-white; its value is 250) I went through every colour setting and set it accordingly. I did this for several settings of grey until I got the one I liked, the current setting. By "global" I meant a colour setting that would apply to all equivalent colour settings unless overridden. At least two such global values would be required, background and text.
Until I tried the center tag this morning, my video was set to the left and I had to use a blank tray 01 to get any sort of centering at all and it varied by browser. The center tag fixed that problem, so I'm not sure what you mean by it being deprecated and not supported.