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.

#127 Re: Backlight Support » "View Cart" button color/background » 2017-08-26 00:55:41

I see that too, but when I click on the cart icon there is a dropdown with the amount in the cart in black and below it the text "view cart" in white on a white background. I assume the "view text" is a button and getting its color for my top pallet button setting.

#128 Backlight Support » "View Cart" button color/background » 2017-08-26 00:15:43

charlie.choc
Replies: 5

I have my top pallet buttons set to white text with a transparent background but when there is an item in the cart the "view cart" button is invisible. Is there a way I can change the "view cart" button text to something other than the top pallet button text color or change the dropdown background?

Thanks.

#129 Re: Backlight Support » Top Pallet fixed width » 2017-08-25 23:47:28

Cool Rod, I've been trying to figure out how to do this too. Thanks.

#130 Re: General » Opinions please on if we should all be changing to https:// » 2017-08-22 21:28:09

Google uses https as a factor in search engine ranking, fwiw.  How much difference it makes I have no clue.

#131 Re: General » Opinions please on if we should all be changing to https:// » 2017-08-21 21:19:23

I switched to https a few months ago using a certificate from letsencrypt (free). It was a pretty simple change; other than changing all hardcoded links in Backlight I added a rewrite rule to .htaccess to force all incoming http traffic to https.

I am self hosted, though, and I don't know if your provider will allow you to use a certificate from letsencrypt.

#132 Re: Backlight Support » reCAPTCHA » 2017-08-16 06:29:35

I've had a few SPAM emails so I implemented it. Very simple to do and, at least from my experience, seems to be somewhat of a standard around the web.

#133 Re: Backlight Support » Get image URL (jpg) - Add Social Sharing to Single Image Pages » 2017-08-14 06:58:44

FWIW, this is the css styling I used:

#social-align
{
    text-align: right;
    float: none;
    padding-right: 24px;
    }
   
#social-align.icon {
    display: inline-block;
    }

#135 Re: Backlight Support » Get image URL (jpg) - Add Social Sharing to Single Image Pages » 2017-08-12 10:06:08

This is probably a little clunky but it seems to work ok.

function ttg_single_bottom ( $style, $path ) {

    $actual_link = "https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
    $img = substr(strrchr(substr($_SERVER["REQUEST_URI"], 0, strrpos($_SERVER["REQUEST_URI"],"-single.php")), '/'), 1);
    $imgpath = substr($_SERVER["REQUEST_URI"], 0, strrpos($_SERVER["REQUEST_URI"],$img)) . 'photos/' . $img . '.jpg';
    $imgfullpath = "https://$_SERVER[HTTP_HOST]$imgpath";

    echo '
        <div id=social-align>
            <a class="icon" target="_blank" href="http://www.facebook.com/sharer/sharer.php?u='.$actual_link.'" title="Share on Facebook">
                <i class="fa fa-facebook-official"  style="color:#3b5998; font-size: 150%;"></i></a>
            <a class="icon" target="_blank" href="http://www.twitter.com/intent/tweet?url='.$actual_link.'" title="Tweet">
                <i class="fa fa-twitter"  style="color:#1da1f2; font-size: 150%;"></i></a>                                 
            <a class="icon" target="_blank" href="https://plus.google.com/share?url='.$actual_link.'" title="Share on Google Plus">
                <i class="fa fa-google-plus-official"  style="color:#dd4b39; font-size: 150%;"></i></a>
            <a class="icon" target="_blank" href="http://pinterest.com/pin/create/button/?url='.$actual_link.'&amp;media='.$imgfullpath.'" title="Share on Pinterest">
                <i class="fa fa-pinterest-p"  style="color:#cb2027; font-size: 150%;" id="social_media_04"></i></a>
            <a class="icon" target="_blank" href="http://stumbleupon.com/submit?url='.$imgfullpath.'" title="Share on Stumbleupon">
                <i class="fa fa-stumbleupon"  style="color:#EB4823; font-size: 150%;" id="social_media_04"></i></a>
            <a class="icon" target="_blank" href="mailto:?subject=An image you might like&body='.$actual_link.'" title="Share via email">
                <i class="fa fa-envelope-o"  style="font-size: 150%;"></i></a>
        </div>
       
       
';
}

#136 Re: Backlight Support » Top of Page Button » 2017-07-19 09:10:36

Thanks. I do have a child theme so I'll look at that when I get back off the road.

#137 Re: Backlight Support » Top of Page Button » 2017-07-19 04:43:25

I should probably know this, but is there a reason this doesn't work on my blog? Works fine on everything else.

#139 Re: Backlight Support » Top of Page Button » 2017-07-19 01:46:43

I actually cut and pasted the code from his site.

#140 Re: Backlight Support » Top of Page Button » 2017-07-19 01:24:00

I just tried that code and it behaves the same way for me with or without display: inline. The arrow stays at the bottom and does return to the top but doesn't scroll up and down like Monte's.

#141 Re: Backlight Support » Cart icon or cart text not showing up in gallery » 2017-07-18 04:45:26

Do you have cart enabled in your albums in Lightroom? And is cart enabled in your album template in Backlight?

#143 Re: Backlight Support » Vegas Pangolin Theatre Border » 2017-07-15 05:26:48

Does that have anything to do with the resize issues discussed before? Like when changing from portrait to landscape on mobile?

#144 Re: Backlight Support » Vegas Pangolin Theatre Border » 2017-07-14 21:35:02

This code that Rod provided a while back will put it outside the frame:

.gallery.vegas-container { box-shadow: 6px 6px 8px rgba(0, 0, 0, 0.5); }

#145 Re: Backlight Support » Duplicate thumbnails » 2017-07-14 01:18:12

I just tried renaming a single file in Lightroom and then republished it. I ended up with two thumbnails in the folder as well. The old thumbnail doesn't show in the gallery, though.

#146 Re: Backlight Support » Duplicate thumbnails » 2017-07-13 23:33:42

I think it's best if you remove the files for the galleries in Lightroom, publish, rename the files and add them to your galleries, and then publish again. This will clean everything up on the server and is all done in Lightroom.

#147 Re: Backlight Support » Pangolin Top Pallet Logo » 2017-07-13 23:24:58

I just recently got that book, it's a good one. It's a far cry from my old mainframe days. wink

#148 Re: Backlight Support » Pangolin Top Pallet Logo » 2017-07-13 22:35:37

Thanks. As you might have figured out, I'm using Backlight to learn more about css. ;-)

#149 Re: Backlight Support » Pangolin Top Pallet Logo » 2017-07-13 22:14:10

I'm not using any custom css for my logo, just this code:

function ttg_pallet_top_title( $style, $path ) {
    echo '
        <li class="logo">
            <a href="/">
                <picture>
                    <source media="(max-width: 440px)" srcset="/backlight/custom/images/SL_Short_Logo.png">
                    <img src="/backlight/custom/images/SL_Top_Pallet_WHT_small.png">
                </picture>
            </a>
        </li>
    ';
  return false;
} // END

With class="logo" it works fine, without it hides the menu items.

#150 Re: Backlight Support » Pangolin Top Pallet Logo » 2017-07-13 21:52:32

On my top pallet logo if I drop the class "logo" my menu items don't show up, but they are still there as I mouse over them.

Board footer

Powered by FluxBB