WordPress.org

Ready to get started?Download WordPress

Forums

Style Up Images
how to apply the Style Up Images plugin to a gallery (10 posts)

  1. majlend
    Member
    Posted 11 months ago #

    Hello, I managed successfully to apply this plugin to an image inside a post, but I would like to know if it's possible to do the same for all the images inside a Gallery page, not a Post.

    Thanks

    Majlend

    http://wordpress.org/extend/plugins/style-up-images/

  2. appswifters
    Member
    Plugin Author

    Posted 11 months ago #

    You have to apply the class style-up-img there also. Which gallery plugin are you using?

  3. majlend
    Member
    Posted 11 months ago #

    I'm using the wordpress standard gallery inside Touchfolio Theme. I made two "Gallery Categories" and I have grouped some different standard wordpress gallery for each categories. Then I showed these Gallery Categories via the Menu option.
    thanks

  4. appswifters
    Member
    Plugin Author

    Posted 11 months ago #

    Hi, I'll consider automatically adding classes in next upgrades
    for now you can go to wp-includes/media.php
    at line no
    $output .= "<{$itemtag} class='gallery-item'>";
    change it to
    $output .= "<{$itemtag} class='gallery-item style-up-img'>";

  5. majlend
    Member
    Posted 11 months ago #

    It didn't solve the problem unfortunately.
    This is the website I'm referring to: http://www.majlendbramo.com
    Your plugin work only on the hompage that is a "Page".
    Maybe it would be useful if you see the php file of the gallery theme. Where can I send it to you?

    Thanks for your support

    Majlend

  6. appswifters
    Member
    Plugin Author

    Posted 11 months ago #

    You can upload the file here.
    http://www.filedropper.com/

  7. majlend
    Member
    Posted 7 months ago #

    This is the style.less

    http://www.filedropper.com/style-touchfolio-default

    and this the gallery.template

    http://www.filedropper.com/ds-gallery-template

    thank you

  8. appswifters
    Member
    Plugin Author

    Posted 7 months ago #

    Hi check this css you changed the height to 50px on our side
    Please keep this css as in original file as 100%.

    This will work

    .style-up-hover {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: #3D3D3D;

  9. majlend
    Member
    Posted 7 months ago #

    I'm sorry, where do I have to put this strings?

    Majlend

  10. appswifters
    Member
    Plugin Author

    Posted 7 months ago #

    Hi, you have to change this in style.css file.

Reply

You must log in to post.

About this Plugin

About this Topic