Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Photo Seller – any way to center gallery and album display?

by

Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Photo Seller – any way to center gallery and album display?

Tagged: album, Albums, center, gallery, list, show, view

  • This topic has 12 replies, 3 voices, and was last updated 8 years, 3 months ago by hilgertom.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • December 3, 2016 at 9:48 pm #13858
    batracy
    Member

    Instead of everything being left adjusted, I would like to have the gallery and album thumbnails centered in the space available. Is this possible? I’ve tried to edit the css without any success.

    December 4, 2016 at 2:12 am #74724
    Peter
    Member

    Hi,

    Can you please provide a link to the page you want centred so I can take a look using firebug. (please remove any custom CSS code you may have applied)

    December 4, 2016 at 2:29 am #74725
    batracy
    Member

    Thanks Peter, but I figured it out. Although I’m not sure where I should add my custom CSS code so it will override the default settings. What I changed is in Template 2 I removed the float: left, and changed the display to inline-block. Where do I code these changes so that updates will not erase them?

    Also have another question, but will start a new thread for that as it is not related to the current subject.

    December 4, 2016 at 11:56 pm #74726
    Peter
    Member

    Simply do the following:

    1) Go and grab the following plugin:

    http://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413

    2) Then add your CSS code in the settings of the above plugin.

    December 6, 2016 at 12:14 am #74727
    batracy
    Member

    Normally this would work, but the styles I’m changing are for the album display which gets loaded just before the album code is inserted. Hope that makes sense. So, is there another way to change the album css so that updates won’t destroy my changes?

    December 6, 2016 at 6:04 am #74728
    Peter
    Member

    I don’t quite understand your concern. Have you tried doing what I suggested anyway?

    What is the actual custom CSS code you are trying to apply?

    December 6, 2016 at 4:34 pm #74729
    batracy
    Member

    Yes, I have tried what you suggested and it doesn’t work. The reason it doesn’t work is the custom css file is loaded in the header portion, but the css for the album is loaded in the body section as part of the album code. I am changing css in the album so the albums will display the way I would like.

    I moved the border and box-shadow from the container to the img item, and changed the container display to inline-block. Then I changed the font-family, font-style, font-size, font-weight in the item and removed the background and border from the item.

    you can see the results here: [http://www.bruceatracyphoto.com]

    December 7, 2016 at 1:24 am #74730
    Peter
    Member

    You can easily solve this problem by adding “.entry-content” at the beginning of each of your lines of custom CSS code.

    Here is an an example

    .entry-content #albumcontainer .album_item_bottom_t2 .album_item_name_t2 {
    font-family: "Playfair Display",serif;
    font-size: 21px;
    font-style: italic;
    font-weight: normal;
    }

    So in summary, remove all of your changes you made to the photo seller files and then apply the technique above using the custom CSS plugin.

    Let me know how it goes.

    December 7, 2016 at 7:32 pm #74731
    batracy
    Member

    Ok that works! Thank you.

    January 28, 2017 at 3:02 pm #74732
    hilgertom
    Member

    Hi. I need to center albums and galleries lists too. I installed plugin for custom css and dont know what css code add to center these lists.

    page with album list fotohilger.cz/fotobanka-image-shutter-stock-photobank-mediafoto/

    January 29, 2017 at 1:41 am #74733
    batracy
    Member

    Add the following code to your custom css file (this is how I got it to center)

    .entry-content #albumcontainer .album_item_container_t2{

    display: inline-block;

    }

    January 30, 2017 at 12:12 am #74734
    Peter
    Member

    @hilgertom

    I recommend that you use the custom CSS plugin to add any custom code.

    1) Go and grab the following plugin:

    http://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413

    2) Add the CSS code suggested by batracy in the settings of the above plugin

    If that doesn’t work, delete that code and try the following:

    .entry-content #albumcontainer {
    width: 85%;
    margin: 0 auto;
    }

    January 31, 2017 at 3:24 pm #74735
    hilgertom
    Member

    Thank u guys. Solution from Peter works nice ;)

  • Author
    Posts
Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ