• Resolved Luke Estevan

    (@luke-estevan)


    I’m sure it’s pretty straight forward but I’m stumped. I’m using the shadowfax style.

    Anyone able to help?

    Many thanks.

Viewing 15 replies - 1 through 15 (of 19 total)
  • Please go to the plugin’s page and click on the “support” tab – it will take you here:

    https://www.ads-software.com/support/plugin/lightbox-plus#postform

    Thread Starter Luke Estevan

    (@luke-estevan)

    I’m using a different Colorbox now … thanks for closing my post. ??

    and the support pages are not helping … hence why I’m posting here.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Which colorbox are you using? Posting to the correct sub-forum saves you time meaning the right people may see the post.

    When you post in the general forum then the plugin author will probably not see it. Add the text [ Plugin: name here ] is not doing it right. ??

    Thread Starter Luke Estevan

    (@luke-estevan)

    So i’m looking to add text to the Jack Moore colorbox. I did add the [ Plugin: name here ] but for some reason it disappeared when I posted :s

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Yes. I removed it as that’s doing it wrong. That’s not how the forums work and faking that text isn’t helping.

    You didn’t know and that’s why me and WPyogi are trying to get you to the right forum. ??

    So i’m looking to add text to the Jack Moore colorbox.

    Which WordPress plugin that you’ve downloaded from the repository here are you using? What’s the URL?

    Thread Starter Luke Estevan

    (@luke-estevan)

    Thanks …

    The plugin is called tablet photography. It uses colorbox.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    If you mean this plugin

    https://www.ads-software.com/plugins/tablet-photography/

    Then the support forum where you’ll hopefully get the right support visibility is at this URL.

    https://www.ads-software.com/support/plugin/tablet-photography#postform

    Which I see you’ve already posted a question there already…

    https://www.ads-software.com/support/topic/activating-the-js?replies=2

    If that question is related to this one, why not add another post to your existing thread?

    We delete bumps but when people genuinely add more information to their existing post then that’s fine too.

    Thread Starter Luke Estevan

    (@luke-estevan)

    it’s not related … thanks anyway

    Thread Starter Luke Estevan

    (@luke-estevan)

    Seriously dude … thanks for all your help … i mean …

    This:
    <div id=”cboxClose” style=”float: left;”>close</div>

    I can’t find it!

    I’ve deleted all ref to a close button in the colorbox css but when a user opens up the colorbox the word “close” appears in the top left corner.

    I have no idea where this is coming from. When I inspect it I draw a blank.

    How can I get rid of this? Any help is much appreciated.

    I AM VERY NEW TO ALL OF THIS!!!

    Many thanks.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    *Downloads plugin, looks at all the files and comes to a realization*

    The reason you can’t find it because it’s dynamically generated by the plugin’s javascript code in tablet-photography/colorbox-master/jquery.colorbox.js.

    Unless you are versed in javascript (I’m sure not) modifying that code may have adverse side effects. Meaning the javascript may crash and not work.

    Thread Starter Luke Estevan

    (@luke-estevan)

    Brilliant! Thank you Jan …

    You are correct that I am not versed … I am however willing to have a pop at it.

    Any ideas of where I should be looking?

    It’s not in the CSS – the JS is loading HTML – but you might be able to use this in your CSS to hide it – seems to work in Firebug when put at the top of your style.css file:

    #cboxClose {
    display: none !important;
    }

    But some of your CSS probably isn’t working because you have errors:

    https://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Flukeestevan.co.uk%2F&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en

    EDIT – Jan was faster than me – LOL! So the above may save you from destroying the JS :).

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    No clue at all! Learning Javascript has been on my to-do list since 2005… ??

    The prefix of cbox is set on line 77 of that file while around line 376 is where the works get put together and then I get lost around there.

    Touché EDIT: I was faster than WPyogi? Cool. ??

    LOL – and we both drowned in that JS file – haha

    Thread Starter Luke Estevan

    (@luke-estevan)

    fantastic … thanks for the work around wpyogi. thanks for pointing out all the errors although most if not all are legit tweaks (albeit I should have done them all in the child theme)

    My knowledge is utterly limited … but I’m really enjoying the process of learning and I thank you for all of your support.

    Javascript is brutal.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Lightbox plus: Display "close" text instead of "X"’ is closed to new replies.