• have a working site up but cannot center featured images
    in my posts– they all are shifted over to far left margin
    my site is http://www.yer-roots-tracker.com

    see all sorts of “solutions” out there but not certain at all that
    they apply to my WordPress theme: MyStories

    Also, I know nothing AT ALL about CSS and am very concerned about inserting something bogus that will crash my site

    wonder why WordPress cannot address this problem with a simple-to-use
    solution; it seems to be a very popular problem

Viewing 4 replies - 1 through 4 (of 4 total)
  • inserting CSS via a ‘custom CSS’ plugin is very unlikely to crash your site.

    try to add:
    .post-image-box img.wp-post-image { display: block; margin: auto; }

    formatting, like image alignment, is the responsibiltiy and choice of the theme’s developer, not of WordPress in general.

    Thread Starter crazyhorse22

    (@crazyhorse22)

    I installed IMCustom CSS and inserted your code
    suggestion under “Settings” as per Plugin instructions

    but unfortunately don’t see any difference in what I had before;
    all my post’s featured images are still all flush to left margin

    you probably are correct about theme folks being responsible
    for this. I paid about $250 to purchase a theme and have a
    demo sample installed… unfortunately, the featured images in their
    demo sample are all deliberately chosen to be much wider than high
    so you would never realize there was a problem until NOW

    I checked your site, and right now, I cannot find the suggested CSS anywhere…

    is the CSS plugin still active with the code inserted?

    sometimes, it needs to reload a web page to get to see any changes to the formatting, or it needs clearing the browser cache.

    Thread Starter crazyhorse22

    (@crazyhorse22)

    I followed the IMCustom CSS plugin instructions as follows:

    Activate the plugin through the ‘Plugins’ screen in WordPress.
    Use the Settings->IM Custom CSS screen to configure the plugin.

    I inserted your code in place of *insert your code here* and
    clicked on Save Changes

    I had the same concern as you did when I tried inspecting the
    HTML, so I retried the site using different browser and also
    with my backup computer.. still have a problem

    looks like the “easy to use” plug-in may not be doing what
    it’s supposed to or it’s not able to insert that code

    I noticed that there is apparently another way to insert code
    via Dashboard->Appearance->Customize->Custom CSS

    do you think it might work if I tried inserting your code via the above?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Centering Featured Images’ is closed to new replies.