Forum Discussion

pulletsforever's avatar
12 years ago

Removing, or nullifying the <center> tag

The center tag that wraps the whole page is screwing with our responsive design. How can I either remove the element or nullify it's effects?

  • Try adding this to the Community Style -> CSS section of your skin.

     

    body div.lia-page center {
      text-align: left;
    }

    This help us anchor the  content to the left side.

     

    Geoff

    • DougS's avatar
      DougS
      Khoros Oracle

      There is a skin property that controls whether or not to wrap the page html in that center tag.  It's not currently exposed in studio, so the change would need to be made by support or professional services, but if you contact support and let them know you would like the following skin property added to your site's skin, they should be able to do this for you:

       

      layout.horizontal_alignment = left

       -Doug