• The Simone theme, using the one-page-design on a desktop browser, does not center the front-page content properly when the browser resizes.

    Between 1142px and 1144px the centering becomes off-centered and the front-page content is skewed to the left. However when the browser is resized to 1522px (and maximized larger), then the centering returns to normal.

    So when using a monitor set to the screen resolution of 1280×1044, the browser maximized does not center the front page content (it’s off to the left).

    Can you tell me which style controls the centering of the one-page content? I cannot seem to find it (and I am still learning CSS so it is not obvious to me).

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter esponapule

    (@esponapule)

    Ok figured out –it is in the sidebar.

    I commented out
    /*.entry-content,*/
    .entry-footer,
    .tag-links,
    .post-navigation,
    .comments-area,
    .paging-navigation,
    .author-index { margin-right: 0; }

    in line 104 of content-sidebar.css

    I’m filing this as a possible issue in Github (https://github.com/mor10/simone/issues/39). Can you clarify: Is this the stock theme or when you create a one-page design following the lynda.com course?

    Thread Starter esponapule

    (@esponapule)

    it is following the one-page design form your lynda course.

    the commenting out of .entry-content also did not work. I am still hunting it down but I think it is a bug within one of the media rules.

    The issue is in the style.css of the stock simone theme because when I turn it off in firebug it goes away.

    There is a simple solution here: Make sure no-sidebar.css is called for this page instead of content-sidebar.css. This would be done in functions.php. The issue is that the layout stylesheet that is called in assumes a sidebar.

    bdsll33g

    (@bdsll33g)

    Hi, Regarding the solution “Make sure no-sidebar.css is called for this page instead of content-sidebar.css”… I am having this problem on all pages and single posts. Also my pages do have a sidebar, and still the problem happens. Would I have to change functions.php for all pages to call no-sidebar.css? Am a little out of my depth in the functions file. Am also following the Lynda course. LOVE your courses, Morten! thx.
    P.S. Might this problem be a bug that gets fixed in the next version of Simone? ??

    If you are using a child theme with the ‘@import url’ code, this problem also occurs. I did solve the problem by next steps:

    1. adapt de style.css of the child theme:remove the “…@import url…” line
    2. put a functions.php in the childtheme folder with this code:

    <?php

    add_action( ‘wp_enqueue_scripts’, ‘enqueue_parent_theme_style’ );
    function enqueue_parent_theme_style() {
    wp_enqueue_style( ‘parent-style’, get_template_directory_uri().’/style.css’ );
    }

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Centering issue on one-page design’ is closed to new replies.