• cycle730

    (@cycle730)


    Hello everyone,

    I have just moved from weebly to wordpress, and it seems I’ve made a great choice, but I have obviously come across a number of little issues here and there when building my website.

    I have managed to solve most of them so far but one remains; When I post a gallery and click on an individual image, the image title, caption and image itself are shifted so far to the left that the image is actually hidden under the left sidebar.

    I am using a child template of twenty fourteen. I am totally new to web building.

    Here is a link displaying the issue:


    Notice if you click and drag the image elsewhere, you’ll see that the image includes the read wheel of the bike, but on the webpage it is cut off under the sidebar.

    Does anyone have any ideas on how I might solve this? I’d just like to have it centred. I’ve tried adapting things from other forums but no luck yet.

    Many thanks, George

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter cycle730

    (@cycle730)

    Little more info; This concerns the image ‘attachment pages’ which I can disable but I prefer the look of the attachment page.

    Thread Starter cycle730

    (@cycle730)

    Can anyone direct me to where I can find ‘Attachment Display Settings’ alignment in WP 4.1.1?

    Thread Starter cycle730

    (@cycle730)

    I am now able to sift the text to the center using the below in the css sheet.

    .attachment .site-content {
    text-align: center;
    /* center image and text */
    }

    But this leaves the picture annoyingly to the left.

    Alternatively I can use

    .attachment p {
    text-align:center; /* center image and text */
    }

    To get both image and text centred, but that leaves an annoying white block to the right of the page.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Centre-aligning gallery image, title and caption’ is closed to new replies.