Forums

Simple Question aligning the text (8 posts)

  1. Anonymous
    Unregistered
    Posted 3 years ago #

    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

  2. converting2wp
    Member
    Posted 3 years ago #

    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.

  3. Anonymous
    Unregistered
    Posted 3 years ago #

    the site is

    http://www.el-ressala.com

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

    Thanks for the reply

  4. Anonymous
    Unregistered
    Posted 3 years ago #

    any HELP please guys ?

  5. Anonymous
    Unregistered
    Posted 3 years ago #

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

  6. converting2wp
    Member
    Posted 3 years ago #

    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

  7. chaoskaizer
    Member
    Posted 3 years ago #

    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 */
    }
  8. Anonymous
    Unregistered
    Posted 3 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags