Align at lightbox images?

  • Posted in : Read WP
  • NiRiOn
    Participant

    Hello,

    today i buyed the theme. i cant wait for the 4.5 update ;)

    i installed it on my site and i cant see any problems – at the moment everything works fine ;)

    one little question i have at the moment. when i use a picture in a blogpost wi the lightbox shortcode .. how can i set the align of the thumbnail to left, center or right? i loog in the templatecode but i cant find a solution for this.

    can u help with a quick and dirty solution?

    regards
    jens

    serkan
    Moderator

    Hi jens,
    There are two (2) rows of editing icons contained within the visual editor. You can find out what any icon means or does by hovering over it with your mouse – a small tooltip will appear describing the icon and its purpose. Please choose your lightbox shortcode and click the align button on the visual tab.
    Thanks

    NiRiOn
    Participant

    Hi Serkan,

    thanks for the Help but this ist not the solution, or i understand you not ;)

    i make 2 screenshots that will better show the problem. screenshot1 was only the code in the wordpress editor.

    i used an “align=”left” for the p tag, after this i make the lightbox image and at last the text.

    in the second screenshot was the output from the code. you will see that the picture is above the text. not this what i want :)

    screenshot01: https://doggeri.com/theme/code.png
    screenshot02: https://doggeri.com/theme/output.png

    the lightbox snippet that i used is from the theme documentation.

    hope u can help me

    thanks
    jens

    serkan
    Moderator

    Hi Jens,
    I guess you solve the issue because i can see that some of your pictures on the right side.

    NiRiOn
    Participant

    Hi Serkan,

    no the Posts that you see have only the small picture. there are make with the standard wordpress features also “insert media ==> align left” not with an theme shortcode.

    when you click the blog images, you will see that no lightbox is comming.

    when i insert the shortcode from screenshot01 it will output these html code:

    NiRiOn
    Participant

    hi serkan,

    upps i dont know that there was an problem with posting code in the board. i make a new screenshot from the html code.

    https://doggeri.com/theme/screen03.gif

    i hope thats helps. pls try in your testblog to post an image left or right aligned with the lightbox shortcode i posted at beginning and you will better see the problem ;)

    regards
    jens

    serkan
    Moderator

    Hi Jens,
    It is not possible by default but I have a solution for this feature.
    You ca wrap the lightbox shortcode with column shortcode so the lightbox image will stay on the left side and the content will stay on the right side. I am going to give you an example;

    [column width="6" offset=""][lightbox_image first_image=”yes” title=”” url=”#”][/column][column width="6" offset=""]Text here[/column]

    NiRiOn
    Participant

    Hi Serkan,

    thanks für the idea. thats a quick and dirty solution but i think this will work for the moment.

    can you – for a future update – bring a better solution? i think something like “lightbox code with “align dropdown” where i can select left, right or center?

    i think its just a little bit hacking in the functions.php or?

    but for the moment: thanks a lot for your help ;)

    regards
    jens

    serkan
    Moderator

    Hi Jens,
    We will think about it.
    Thanks for the feedback

    NiRiOn
    Participant

    great thank you ;)

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register