• I had the whole twenty fourteen theme centered but now it seems to have changed and I did not edit that piece of code in my CSS..

    Nor do I believe any other values were entered to interrupt those lines so what could it be!?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Cache issue, maybe? Do you have any cache plugins installed? If so, clear them. Also clear your browser cache. Make sure cache is not the culprit before going any further. If that doesn’t fix it, please post a link to your site.

    Thread Starter Shaunrafuse

    (@shaunrafuse)

    tried clearing it, but still no luck..

    https://www.homehealthyfitness.com

    Gotcha. Can you describe in more detail what was centered? I know that Twenty Fourteen has the entire site aligned to the left by default. When I look at your site, the entire page element is indeed centered. https://glui.me/?i=xw2bux28epfmilo/2014-04-22_at_9.26_PM.png/

    Is this the change you’re talking about? If not, I’ll need more details.

    Thread Starter Shaunrafuse

    (@shaunrafuse)

    The text is mainly what i’m after.. If you look under the title of the page the tagline isn’t centered (for example).

    As well as underneath the secondary menu under recent posts..

    After the end of the first line of a post title, the second line of text always centered instead of going directly to the left.

    This is the code block Im using but something has caused this to not work anymore…

    #page {
    margin-left: auto;
    margin-right: auto;
    }

    No that CSS is working just as it should. That’s doing what I pointed out in my last comment… centering the entire page element.

    Tell me, where are you writing your CSS? I looked at the stylesheet that the above CSS is in and I don’t see anything else that’ll center any other elements on the site except for the primary nav menu which is written right above it. Where was the CSS that did the things that are no longer being done?

    Also, I can only find one style.css file in your file structure. Are you using a child theme?

    Thread Starter Shaunrafuse

    (@shaunrafuse)

    Haven’t set up a child theme I’ve just been using a custom CSS manager. I really can’t seem to locate those lines but the elements I was talking about were centered before!

    It’s pretty much the whole left side of the site that needs centering now.. as well as the post titles and categories.

    Thread Starter Shaunrafuse

    (@shaunrafuse)

    I got the left menu aligned using

    #secondary li a {
     color: red !important;
     font-family: tahoma;
     font-size: 15px;
     }

    But still everything above and below that as well as the post/page titles no center ??

    Do not edit the Twenty Fourteen theme. It is the current default WordPress theme and having access to an original, unedited, copy of the theme is vital in many situations. First create a child theme for your changes. Or install a custom CSS plugin.

    Thread Starter Shaunrafuse

    (@shaunrafuse)

    Using CSS plugin esmi, don’t want to touch theme code.

    Thread Starter Shaunrafuse

    (@shaunrafuse)

    Ok I figured out the secondary menu, site tag line and widgets(recent posts and meta) but how do you center the titles under those widgets???

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Centered twenty fourteen not working’ is closed to new replies.