WordPress.org

Forums

Network Summary
[resolved] Center the layout=table in shortcode? (9 posts)

  1. Mike Price
    WP Engine Tech Support
    Posted 1 year ago #

    Was wondering if there was a way to center the table layout ..not sure how its possible to center the shortcode. Thanks!

    https://wordpress.org/plugins/network-summary/

  2. I wouldn't try to center the shortcode. Rather, you'd want to modify your CSS to have the output centered.

  3. Mike Price
    WP Engine Tech Support
    Posted 1 year ago #

    That would be great except im not good with CSS. If you have any ideas on how to do this easily, I am all ears. If not, thats okay too :) Thanks!

    Mike

  4. jokr
    Member
    Plugin Author

    Posted 1 year ago #

    Sure, I can probably help you out here, but I am not sure what you want to achieve. Right now the table has a width of 100% which means it can't be centered because it already takes the full width.

    Maybe you have a link to your example?

  5. Mike Price
    WP Engine Tech Support
    Posted 1 year ago #

    Hey Jokr

    Thanks :) Here is a link to example: http://postfriendly.com/network-summary/

    Basically, the two columns of the table view are aligned all the way to left side of page. I just think it might look nicer centered down the middle. But hey this is not a big deal so dont worry about it, if it would take a lot of custom coding.

    Mike

  6. Mike Price
    WP Engine Tech Support
    Posted 1 year ago #

    Actually after I thought about it, the way it currently is probably works best ! :)

  7. jokr
    Member
    Plugin Author

    Posted 1 year ago #

    Yesh, looks fine to me actually. If you want to center it, here is how you do it in css:

    div.netview {
     width: 75%; (change this value to your needs)
     margin: auto;
    }
  8. Mike Price
    WP Engine Tech Support
    Posted 1 year ago #

    Thanks so much ! I will check this out later today and decide which I like better. :)

    Mike

  9. michellecoyle08
    Member
    Posted 6 months ago #

    http://www.davidmcconvilleorthodontics.ie/newsite/the-team/

    Can someone advise how I would centre this gallery inside the table??

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Network Summary
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.