• I have a lil problem, i hope you guys can help me with that.

    i need to align my text to the RIGHT in the home page
    in the Excerpt section when im posting what should i do
    is there a way in the CSS to do so if yes how?

    Plus i want to Align my post title as well to the right or center not to the left as it set by default.

    Thanks in advance

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yes, there’s a way to do it with CSS.

    If you want specific suggestions, please post a link to your site — or at least to your theme — so folks can see the HTML and CSS you’re using and tell you what to change.

    Thread Starter 759943

    the site is

    http://www.el-ressala.com

    Download CSS FILE here: http://www.el-ressalaonline.com/css.zip

    Thanks for the reply

    Thread Starter 759943

    any HELP please guys ?

    Thread Starter 759943

    My post was there for 3days and i got no reply whats up
    admins any help please. Im stuck.

    If you change the #page section of they style.css file in your theme directory by adding a line

    text-align: right;

    does that give you what you want?

    If not, I’d suggest you examine your specific CSS areas with a tool like the Firefox web developer extension and ask for additional help in a CSS specific forum, particularly one where there are folks experienced in right-to-left languages. I don’t think your question is really WordPress specific, though we do try to help out where we can.

    -Not an admin, just another user

    assuming that your theme files is writable , goto wordpress Admin dashboard > design > theme editor > open header.php

    find

    <html xmlns="http://www.w3.org/1999/xhtml">

    replace with

    <html xmlns="http://www.w3.org/1999/xhtml" dir="rtl">

    save

    rtl = right to left
    ltr = left to right

    for the post title alignment you need to edit your theme style.css file

    find on line 499

    .box .post h2{
    	font-size: 18px;
    	line-height: 20px;
    	padding-top: 0px;
    	padding-right: 0px;
    	padding-bottom: 5px;
    	padding-left: 0px;
    }

    replace with

    .box .post h2{
    	font-size: 18px;
    	line-height: 20px;
    	padding-top: 0px;
    	padding-right: 0px;
    	padding-bottom: 5px;
    	padding-left: 0px;
            text-align: center /* right, left, center */
    }

    Thread Starter 759943

    wow thanks guys for the help,

    chaoskaizer,

    I did what you tolde me:

    Everything is good thank you very much but there is a lil
    problem, the posts boxes are now not aligned is there a way to
    correct that problem:

    see here
    http://www.el-ressalaonline.com

    Another Question Please forgive me 🙂

    How can i put my categories in order on the top menu
    there is no option inside the theme options to put my
    menu catagories in order and align them to the right as well?

    Thank you for the help

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Simple Question aligning the text’ is closed to new replies.