Okay
  Public Ticket #1049339
Gallery text / extras
Closed

Comments

  •  2
    urbaneatin started the conversation

    Hey, I'm setting up some galleries, and would love to put extra content ABOVE the gallery images (rather than just beside and/or below). It might just be text, but sometimes some full-width twenty-twenty/before-after photos would be great above the gallery's individual photos. Is there an easy way to do this?

    It seems the normal text content is always below (or beside if you choose that). Then there is the "Extra Text Area" option, but that only goes beneath as well.

    Ideally the normal content area would go above. Then the extra text area could always go below.

  •  1,710
    Barry replied

    Hi there,

    For now there are 2 ways of doing this:

    - Changing the template file (in the child theme)
    - Use some custom CSS (see below)

    body.single-portfolio article.portfolio .row {
        display: flex;
        display: -webkit-flex;
        flex-flow: column;
    }
    body.single-portfolio .col-xs-12:first-of-type {
        order: 2;
        -webkit-order: 2;
    }
    

    For the following theme update (planned upcoming week) we re-coded the single gallery template file. So both solutions are not very stable as some extra tags are added in template.

    I can check if we could add an option to define the position of the extra textfield per post (above or below the images on fullwidth layout) for the update so you won't have to add custom CSS or change the template file.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  2
    urbaneatin replied

    Hey Barry, I'm up for whatever you think is the best solution. In-theme option is best but adding some CSS is easy too. I added the CSS you included, and although it did shift content to top, it made all of the photos display in 1 long column (only about 25% width) regardless of the # of column setting..

  •  1,710
    Barry replied

    Hi,

    For now I think CSS is the easiest temporary option (also the easiest to remove after the theme update)

    Is it ok if I login to get the CSS working?

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  2
    urbaneatin replied

    Sure, it should be the same login.

  •  1,710
    Barry replied

    It should work now Can you check at your side?

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  2
    urbaneatin replied

    Looks good to me.

    Okay one more thing that I wasn't gonna mention until later is that on the gallery category pages, it is displaying like the blog page (in 2 columns) which is fine. But it's showing quite full-width, underneath a sidebar and sticking out to the right a bit. http://urbaneatin.com/archives/portfolio_category/hardscaping

    Attached photo.

  •  1,710
    Barry replied

    Issue is fixed

    This one was a wrong CSS rule on the element wrapper of the grid. I changed it from inline-block to block.

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes

  •  2
    urbaneatin replied

    Thanks a ton!

  •  1,710
    Barry replied

    You're welcome!

    Best regards,
    Barry
    QreativeThemes.com  |  WordPress Themes