• Resolved La Fringuante

    (@la-fringuante)


    Hi there,
    I have added an image as a header but can not have it centered. Should I change its dimensions? Or is it in the CSS that changes should be made? I cannot locate exactly where I should modify the code, though. If anyone has an idea, that would be great.
    The site : http://www.lafringuante.com

    Thank you,

    Laurence

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    It seems to be centred to me, have you resolved this?

    Thread Starter La Fringuante

    (@la-fringuante)

    Hi Andrew,

    Looking at it on Firefox, the image header is larger than the text and aligned on the right. I have tried to modify the CSS like that:
    /* Header Widgets */
    .site-header .widget {
    float: right;
    clear: right;
    margin: 0;
    text-align: center;
    border: none;
    }

    It works well in the original CSS, it corrects the alignment, but not at all in the Simple Custom CSS, even after a W3C check. I know I’m not supposed to play in the CSS so I’m still stuck.
    The site displays well on my Iphone, and apparently, on my friend’s iPad. Any idea why?

    Hi

    The width of the header image is more than the width of the container. Please make the image width to 980px or less.

    And about making changes to the css of a theme, I would advice you to do the changes using a Child Theme or by using a My custom css plugin to keep the changes preserved even after the update

    Thanks

    Thread Starter La Fringuante

    (@la-fringuante)

    It worked perfectly! Thank you so much for your help Maruti, it is greatly appreciated.

    Laurence

    Glad it helped 🙂

    Hello Wise Owls,
    I’m a publishing student, new to WordPress, and having a bit of difficulty. My new and incomplete site is inandaroundtheworld.com, and I’m trying to figure out how to add two drop-down menus to the Pub 101 menu; how to delete the home menu; and how to centre the headers. I looked through previous discussions about all of this stuff, and I see that solutions lie in the coding, but I can’t seem to get myself to that page. Any and all help would be mightily appreciated.
    Viktoria

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Hi Vicktoria,

    If you’re using the Fashionistas theme could you open a new thread here:
    https://wordpress.org/support/theme/fashionistas#postform

    Or if you’re not, or not sure which theme you’re using could you open a thread here: https://wordpress.org/support/forum/how-to-and-troubleshooting#postform – and we can get to the bottom of it.

    Also make sure the link to your website is correct 🙂

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

The topic ‘Trying to centre the header image’ is closed to new replies.