Forums

Site in short and long pages. It moves to right and left (8 posts)

  1. fkaf
    Member
    Posted 3 years ago #

    What causes this?
    When the page is longer than the screen, the whole site moves a bit to the right?
    Is there a fix? I hate sites that moves..

  2. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    could be the vertical scroll bar on the right;

    try and add 'overflow-y:scroll;' to the body style in style.css

  3. fkaf
    Member
    Posted 2 years ago #

    It`s the single posts that moves in comparison with the cathegori and main

    How can I find the place to correct this?

    http://www.kjagen.com/category/iron-maiden/
    http://www.kjagen.com/2010/07/alice-in-chains-sentrum-scene-june-08/

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    suspect: default.css of the theme.

    find this:

    /* single post */
    .single .post, .single-post	{ background: #FFF; border: px solid #CCC; margin: 0 10px 10px 0; padding: 0 1px;border-bottom: 1px solid #999; }

    try to change to (set the second parameter in margin: to 0px - i.e. this does remove the right margin):

    /* single post */
    .single .post, .single-post	{ background: #FFF; border: px solid #CCC; margin: 0 0px 10px 0; padding: 0 1px;border-bottom: 1px solid #999; }
  5. fkaf
    Member
    Posted 2 years ago #

    Great!!!

    I will ask you more
    http://www.kjagen.com/2010/08/norway-bergen-koengen-2010/
    single page I get a line across the site. Why is this? I added a border to the bottom of posts to seperate the posts. Is this why?

    And also how do I get bold underline? I have bold link but the underline is still normal

  6. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    I added a border to the bottom of posts to seperate the posts. Is this why?

    seems to be - it is in the same style that you edited above.

    to remove this line on the single post view (for instance the page you linked to in your last reply), you could add a new style:

    .single .single-post { border:none; }

    the bold underline seems to be browser dependant - firefox3.6 does it bold; IE7 not (in the tag cloud, for instance).

    i don't have any further ideas there.

  7. fkaf
    Member
    Posted 2 years ago #

    Hi again
    Thanks
    But the line across the site outside the body did not go away,
    This line is just in the single post

  8. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    ok, i missed that line across the body;
    the .single-post class is used also for the body class of the site;

    it might help to change the style below into:

    .single .post, .post.single-post { background: #FFF; border: px solid #CCC; margin: 0 0px 10px 0; padding: 0 1px;border-bottom: 1px solid #999; }

    that restricts the border to the single post.

Topic Closed

This topic has been closed to new replies.

About this Topic