Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vincej1

    (@vincej1)

    Thanks – I gave that a go but it had no effect.

    I am almost 100% certain that the issue lies with url piece of the code, for as a control I have in fact also tried:

    $('ul li :eq(0)').css('background', 'green');
     $('ul li :eq(1)').css('background', 'red');

    This works perfectly.

    any ideas are really welcome – I am defeated !

    thanks

    I had similar problems, for me it all aligned left. The only thing I could to to get it correct was to go into the html on the post / page in question and actually put in the in-line style align=”right”

    it worked.

    Thread Starter vincej1

    (@vincej1)

    My site is still in development. I have 90% of the photo gallery working. However one problem still remains. The thumbnails are linked to a preview image which in turn also be clicked to to give a full size image. both thumbnails and full size image appear, but the preview image will not, even though examination of the rendered source code shows me the javascript is going to the correct directory. Outside of WP it all works well. Therefore I am pretty convinced that the problem lies with the javascript not talking to the PHP inside WP correctly. I think a reference to a variable is wrong somewhere. But I’m not good enough in JS to find it.

    There are too many files to share them all but here https://pastebin.com/xZBckfs3 is the primary js file and the relevant WP php code. Many Many thanks !

    Thread Starter vincej1

    (@vincej1)

    thanks – but where ? btw meta.php is part of the theme template file.

Viewing 4 replies - 1 through 4 (of 4 total)