Web Parts are left-aligned on a Publishing Site page for a language that is read from right to left

Article translations Article translations
Article ID: 980539 - View products that this article applies to.
Expand all | Collapse all

Symptoms

You view a Publishing Site page in Microsoft SharePoint Server or SharePoint Foundation. When you view the Web Parts section of the Publishing Site page in a language that is read from right to left, such as Arabic, the text is not right-aligned, it is left-aligned.

Cause

This issue occurs because the Publishing Site page uses cascading style sheets (.css) that were not localized for the language.

Resolution

To resolve this issue, you must edit each .css file that is used by the Publishing Site pages in the SharePoint site. To do this, follow these steps:
  1. Start Microsoft SharePoint Designer.
  2. Open the first .css file in the following folder in the SharePoint site:
    \cms\templates\features\publishingresources\
  3. Search for the following entry in the file:
    <style type="text/css">
    	.v4master #s4-leftpanel { display: none; }
    	.v4master .s4-ca { margin-left: 0px; }
    </style>
    
  4. Change the entry ".v4master .s4-ca { margin-left: 0px; }" to the following:
    .v4master .s4-ca { margin-right: 0px; }
  5. Save the .css file.
  6. Repeat steps 2 through 5 for all the remaining .css files in the folder that is noted in step 2.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 980539 - Last Review: December 12, 2012 - Revision: 5.0
Applies to
  • Microsoft SharePoint Designer 2010
  • Microsoft SharePoint Foundation 2010
  • Microsoft SharePoint Server 2010
  • Microsoft SharePoint Designer 2013
  • Microsoft SharePoint Foundation 2013
Keywords: 
kbtshoot kbexpertiseadvanced kbsurveynew kbprb KB980539

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com