WordPress.org

Forums

WP Tiles
Tile container width (4 posts)

  1. airali
    Member
    Posted 1 year ago #

    Hi,
    I have a problem with tile width, I mean the whole grid size.

    It is slightly larger than the container div (wordpress entry-content div). In fact its size is set to 920px, but if I sum up the tiles width together I get 950 px.

    How can I force the group of tiles to the right width?

    (You can delete my previous thread, I made a mistake)

    https://wordpress.org/plugins/wp-tiles/

  2. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi @airali,

    WP Tiles should always expand to the first parent element that has an explicit position. Check if your entry-content div has position: relative or another value for position. If not, try setting it in Web Inspector / Firebug and resize your window to see if WP Tiles is drawn at the right width then.

    If that doesn't work, can you send a link to the website in question, then I'll have a look.

    Cheers,
    Mike

  3. airali
    Member
    Posted 1 year ago #

    Hi Mike,
    thank you for your reply.
    Unfortunately I cannot send you the link as my client has not allowed me to publish the website yet.
    However, I uploaded a screenshot here: https://dl.dropboxusercontent.com/u/10058559/wp-tiles-error.png

    The selected element in firebug is wp-tiles-container and yes, it has a position:relative. As you can see in the picture, photos seem to ignore the element width.

    I noticed that it only happens when I set a padding between tiles.
    I remember that, while searching the web for a solution, I found a topic by someone who had reported a similar issue, so probably padding is the key.

  4. Mike Martel
    Member
    Plugin Author

    Posted 1 year ago #

    Hi airali,

    I remember that topic.. that never got a resolution unfortunately. What is the position property for the container that is the parent of .wp-tiles-container?

    I have never seen this problem happen myself, so I'm just speculating now. Can you think of any way in which I can reproduce this? Are you using a theme I can get my hands on? Let me know!

    Mike

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Tiles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.