• Resolved Vinsss

    (@vinsss)


    Hi all,

    I’m unable to correctly configure the native WP-gallery when I use the theme “custom community”:
    The number of columns is not changed, it’s still stuck at 3 columns, even if I chose 4 (with other themes it works perfectly).
    And I do not know how to put a border on the thumbnails …

    Can someone help me?

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • hi vinsss, do you have a link to your site? would be a great help 🙂

    Thread Starter Vinsss

    (@vinsss)

    Sorry KonradS I’m currently working on it offline.
    ps: I use easyphp.5.3.9

    do you use left and right sidebar or just one sidebar?

    maybe its just not big enough?

    Thread Starter Vinsss

    (@vinsss)

    No KonradS, it’s big enough, I reduced the thumbnails to 100 x 100px, I only use the right side bar.
    Even on a fresh installation of WP the gallery works fine with the twenty-eleven theme (which is narrower than the CC theme) but when i try with the CC theme I can only implement three columns …
    Do you want me to upload the source code of my page?

    Thx.

    ah now i got you! 🙂

    add this to your CSS overwrite section in THEME SETTINGS -> CSS

    #content .gallery.gallery-columns-4 .gallery-item {
    width: 25%;
    }

    for the border also add this and modify to your needs:

    #content .gallery .gallery-item img {
    border: 1px solid #ffffff !important;
    }

    let me know how this works! curious 🙂

    ** will be added to the next version, you can remove the CSS then (not the border thing, just the column thing)

    konrad

    Thread Starter Vinsss

    (@vinsss)

    Thx a lot KonradS.
    Now it works fine.
    However i can’t place the gallery into a column layout, I tried this:
    [cc_full_width_col background_color="f1f1f1" shadow_color="888888" radius="6"][gallery columns="4" link="file" ids="51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73"][/cc_full_width_col]
    but it doesn’t work…

    Thread Starter Vinsss

    (@vinsss)

    Ok finally I found how to integrate the gallery in the full width column layout:
    [cc_full_width_col background_color="f1f1f1" shadow_color="888" radius="6" hierarchical="on"][gallery link="file" columns="4" ids="51,73,72,71,70,69,68,67,66,65,64,63,62,61,60,59,58,57,56,55,54,53,52"][cc_col_end]

    Thread Starter Vinsss

    (@vinsss)

    Thx again.

    YES! EXACTLY 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘image gallery in custom community’ is closed to new replies.