Forums

[resolved] Centering problem (6 posts)

  1. timchez
    Member
    Posted 1 year ago #

    I want to use the vistalicious theme, but I am having a problem with centering. When reloading the page, the theme will load in the center of the page, but move swiftly to the left when the page is loaded. My site is . Can anybody give a hand?

  2. Arian Xhezairi
    Member
    Posted 1 year ago #

    timchez
    I just took a quick look on your site and compared it's stylesheet file with the Vistalicious original stylesheet.
    And I was able to find this two differences (posting only the different parts of the code):
    Your Stylesheet:

    #wrapper {
     <strong> margin: 0 auto 0 auto;</strong>
      text-align: left; /* IE Centering Technique */
      }
    
    #header {
    <strong>  margin: 0 0 0;</strong>
      padding: 5px 0 25px 0;
      }
    
    #header h1.sitename {
      <strong>padding: 0 0 0 10;</strong>
      position: relative;
      font-size: 20pt;
      }

    Vistalicious Stylesheet:

    #wrapper {
      text-align: left; /* IE Centering Technique */
      }
    
    #header {
      <em>margin: 0</em>;
      padding: 5px 0 25px 0;
      }
    
    #header h1.sitename {
      <em>padding: 0 0 0 0;</em>
      position: relative;
      font-size: 20pt;
      }

    For the moment the best try is to re-upload the original theme files, but first deactivate it meaning switch to a different theme and after the original Vistalicious files are up on your server, you can try again to activate it. :)

  3. timchez
    Member
    Posted 1 year ago #

    I just tried that. I changed themes and deleted the Vistalicious theme from my folder and then reinstalled it. When I switch to the orignal theme with no customization, it is still left justified. Even the theme preview shows the theme left justified. I disabled all the widgets to no avail. Is there a code I can insert to move the whole thing to the center?

  4. timchez
    Member
    Posted 1 year ago #

    Anybody?

  5. timchez
    Member
    Posted 1 year ago #

    Bueller?

  6. timchez
    Member
    Posted 1 year ago #

    I'm marking this as resolved. I can't figure out the problem and I'm giving up on it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.