Community @ The Turning Gate

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.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#2 Re: Backlight 2 Support » Hide Album titles? » 2019-02-04 00:20:21

Thx a lot. It works to remove the titles completely. Now I'm looking for a solution to put the title into the image. Is this even possible for a "responsive site"? As I stated a both, I managed the first part, but I can't remove the rest of the "old title"


I also don't get why the transparent background is not showing up on my ipad/iphone.

#3 Re: Backlight 2 Support » Hide Album titles? » 2019-02-04 00:11:51

I also tried to move the title into the thumbnail, howver here I have the problem of the "white thing below"

http://chauser.eu/en/galleries/nature/

#4 Backlight 2 Support » Hide Album titles? » 2019-02-03 23:25:43

christopherhauser
Replies: 4

I currently don't like the look of the album titles below the thumbnails. Any way to hide them completely ?

Thanks a lot
Christopher

#5 Re: Backlight 2 Support » Contact Form to the center and shadow / border around image view » 2019-02-03 22:16:26

Thanks a lot! One last thing, is there a way to center the "text/labels" and send button as well? I am slowly getting back to CSS with inspecting and changing, but some things just won't work :Q

#6 Re: Backlight 2 Support » Contact Form to the center and shadow / border around image view » 2019-02-03 02:21:35

Just tried it and it kinda centered it. Still a little strange.

http://chauser.eu/en/contact/

I figured out the second part by myself. ( I was talking about Fancy Box )

#7 Backlight 2 Support » Contact Form to the center and shadow / border around image view » 2019-02-03 00:11:02

christopherhauser
Replies: 7

Hi there,

just installed BL2 and having trouble getting the contact form centered. I hate that it is aligned to the left.

I should be able to do this through CSS or do I need PHPplugin?

Second question is it possible to add a Border and Shadow around images in the "viewer" of a gallery?

Thanks a lot

#8 Backlight Support » Wordpress Footer » 2016-10-14 18:41:02

christopherhauser
Replies: 7

http://chauser.eu/cp/en/backlight/blog/

First I thought it is a Wordpress problem.. Now I'm not so sure anymore. Can't find a way to "delet / replace it with mine" It alway is displayed below.

Any hints what to look for would be great. Kinda stuck again...

In the Wordpress Theme design it says Footer: Location: Disabled and in Copyright Start Date / Copyright Attribution is no text at all.

If I Edit Themes in wordpress and remove everything from the Footer php it works, but the second I edit anything else it's back...

It is ONLY a problem on the blog. On the rest it's not there.

#9 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-14 17:26:13

rod barbee wrote:

I'm centering images with on for example http://chauser.eu/cp/en/about/

.centerphoto {
    text-align: center;
}

For aligning images on a page or with text, there are already built-in classes for that:
aligncenter
alignleft
alignright


Thx a lot! That makes my life easier. Is there any documentation which shows all the "classes" I could use ?

#10 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-14 17:13:48

Thx a lot to you two! Dainel your slideshow is just working as it should!

I will use Daniel's method until I understand why I have to use such strange settings in backlight to get good quality.

Let me explain: My Images for Vegas have 800px by 400px (I checked them again after exporting) I do everything with backlight.

As settings I tried first using

Album Setup
Max Width: 800
Border: 1
Shadows: yes (For reference: What shadows does backlight use ? Which settings?)

Vegas Slideshow
Aspect Ratio Width: 800
Aspect Ratio Height: 400
Image Scaling: Fit

This resulted in bad image quality and a white border... I adjusted it until it looked better. Now I'm puzzeld how these settings work.


Album Setup
Max Width: 800
Border: 1
Shadows: yes

Vegas Slideshow
Aspect Ratio Width: 803 (If I change it to 800x400 / 802x402 / 798x398 or any other setting I get a re sampled low quality image...
Aspect Ratio Height: 404
Image Scaling: Fit


I just want to understand what is actually happening.

#11 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-14 01:19:58

Next dump question. http://chauser.eu/cp/en/about/

I'm centering images with on for example http://chauser.eu/cp/en/about/

.centerphoto {
    text-align: center;
}

Now on http://chauser.eu/cp/en/home/ with my own slideshow the same does not work.

Here is the code:

For the image where it works:
<div class="centerphoto"><img src="/cp/en/photos/about/about_01.jpg" id="copyphoto" width="778"></div>

on the slideshow where it doesn't

I expect this line to the problem:
.fadein img { position:absolute; left:0; top:0; transition:opacity 1s; opacity:1; }

<div class="centerphoto">
<div id="slideshow" class="fadein clearfix">
<img src="/cp/en/photos/slide/slide1.jpg" id="copyphoto" width="802">
<img src="/cp/en/photos/slide/slide2.jpg" id="copyphoto" width="802">
<img src="/cp/en/photos/slide/slide3.jpg" id="copyphoto" width="802">
<img src="/cp/en/photos/slide/slide4.jpg" id="copyphoto" width="802">
</div>
</div>       

<style>

.fadein { position:relative; }
.fadein img { position:absolute; left:0; top:0; transition:opacity 1s; opacity:1; }
.fadein img.is-hidden { opacity:0; }

</style>


<script>

var delay = 5000; // image delay
var ratio = 1/2; // image area aspect ratio

// don't modify below


function set_slideshow() {

var n = document.getElementById("slideshow").offsetWidth;

document.getElementById("slideshow").style.height = n *  ratio + "px";

}


window.onload = set_slideshow;
window.onresize = set_slideshow;


// Slideshow from: https://snook.ca/archives/javascript/si … -slideshow

var i=0;

var root = document.querySelector(".fadein");
var els = root.querySelectorAll(":not(:first-child)");
for (i=0; i < els.length; i++) {
els(i).classList.add("is-hidden");
}

root.addEventListener("transitionend", function(){
root.insertBefore(root.querySelector(":first-child.is-hidden"), null);

});

setInterval(function(){
root.querySelector(":first-child").classList.add("is-hidden");
root.querySelector(":nth-child(2)").classList.remove("is-hidden");

}, delay)

</script>

#13 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-13 23:50:51

thx I will look into it tomorrow.

So just to clarify: When I set the width in backlight vegas to 802 and use 1px border the images should have 800px ?

And what should be the aspect ration ? the image is 800x400

#15 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-13 23:19:53

Ok Metthew I get you. However, I'm not talking about Fullscreen at all. I'm talking about my new site (test site) (http://chauser.eu/cp/en/home/)

The image quality with vegas fit is just bad compared to normal JPGs... You can see for yourself.

And WHY is there a border ? The images are set up as 800x400 and SO IS Vegas 800x400...

#16 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-13 22:47:26

It IS set to FIT. which by the way produces white borders in the slight show page... (http://chauser.eu/cp/en/galleries/home/)

and yes the images are all exactly 800x400 as they should be.

UPDATE:

Found one problem. copy width was set to 800. Now after setting it to 900 it works. Now the question arise why is the quality so bad?? and why are there white borders...


http://chauser.eu/cp/en/home/ (Top shows JPGs running bottom the vegas slideshow)

#17 Backlight Support » Does backlight support php 7? » 2016-10-13 22:15:07

christopherhauser
Replies: 2

I have to move my server to run wordpress in that process it would be upgraded to php 7. Would that make any problem ?

#18 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-13 22:01:14

So no cropped images ? On mine the images on the home slide show are "cropped or better zoomed in"

#19 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-13 21:38:46

yes that is fixed, the problem with the vegas slideshow remains. Or at least on my devices...

#20 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-13 21:17:00

Matthew wrote:

If you don't want Vegas Slideshow cropping your images, then change Image Scaling from "Cover" to "Fit".

The contact form should be fully responsive by default, unless you implement custom CSS to break it.


The Problem is not cropping in general only on mobile devices. (Or when simulating it in chrome)

#21 Re: Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-13 20:42:50

THX a lot!

disabled the image, no change. (The image on about is the same with 776px; there it works)

OK, That was a good hint. The image wasn't the problem, but I forced the "comment" section to width: 500px; / changed it to max-width and it works now.

The only problems remains the Vegas slide show and hint there ?

#22 Backlight Support » Responsive design not very responsive (on my contact page) » 2016-10-13 18:51:12

christopherhauser
Replies: 22

I have the following problem:

On the contact page ( http://chauser.eu/cp/en/contact/ ) the image and text is cut off on my iphone 6 in portrait mode. I can replicate it with my chrome browser as well...

For example http://chauser.eu/cp/en/about/ scales / response correctly.

Another problem with the iphone is the Vegas slideshow crops images... Is that a normal problem or not?

#23 Re: Backlight Support » [FIXED] How to fix the sub menu / drop down? » 2016-10-13 18:41:20

Final code for the nav:

.primary-menu {
    padding: 6px 0px 0px 0px;
   
}


.menu-item a:link, a:visited {
    line-height: 12px;
    height: 16px;
    font-size: 14px;
    padding: 0px 8px 0px 8px;

}




.menu-item span {
    line-height: 12px;
    padding: 0px 8px 0px 8px;
    font-size: 14px;
    height: 16px;
    position:relative;
}




.sub-menu {
    box-shadow: 0px 4px 4px 0px rgba(0,0,0,0.1);
   
}


.menu-item-has-children ul.sub-menu li {
    padding: 4px 4px 4px 4px;
    position:relative;

   
}

.menu-item-has-children ul.sub-menu {
    border:0px solid #000000;
}

   

nav ul li:hover > ul { top: 16px; }

nav li:hover a,nav li:hover span { color: #000000; }

nav li:hover,nav li:hover li { background-color: #ffffff; }

nav li a:hover,nav li span:hover { color: #2196f3; background-color: #ffffff; }

#25 Re: Backlight Support » [FIXED] How to fix the sub menu / drop down? » 2016-10-13 01:20:49

No really any progress... So how do I move the dump thing ? AND WHY are the links with the drop down blue...

Here is the current code: I tried to explain what everything does, NOW I tried a lot...

(is used to space everything from the header)
.primary-menu {
    padding: 6px 0px 0px 0px;
}

(used to set size and distance between main links)
.menu-item a:link, a:visited {
    line-height: 12px;
    height: 12px;
    font-size: 14px;
    padding: 0px 8px 0px 8px;
}

(used to size and set distance between "info" and the rest.)
.menu-item span {
    line-height: 12px;
    padding: 0px 8px 0px 8px;
    font-size: 14px;
}

(used for the shadow around the WHOLE box and some transparency test.)
.sub-menu {
    box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.2);
    background-color: rgba(255, 255, 255, 0);
}

(used to make some space around the sub links... and some transparency test.)
.menu-item-has-children ul.sub-menu li {
        background-color: rgba(255, 255, 255, 0.5);
    padding: 4px 4px 4px 4px;   
}

Board footer

Powered by FluxBB