Forums

need help with css (2 posts)

  1. crashley1784
    Member
    Posted 1 month ago #

    Hi, I was wondering if someone could possibly help me figure out how to make the theme I downloaded centered instead of left justified. I tried contacting the author of the template, but none of his email addresses work, sadly. The theme I downloaded is "foundation". If someone could take a look at it and tell me how to do it I would be infinitely grateful.
    Thanks
    Lauren

  2. drewactual
    Member
    Posted 1 month ago #

    add to body tag a width, whatever fits your theme- such as 900px, or 80%, or whatever, then allow the browser to center auto... do it like:

    Body { width: 90%; left-margin:auto; right-margin:auto;}

Reply

You must log in to post.

About this Topic

Tags