1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to fix this wordpress?

Discussion in 'BlackHat Lounge' started by SpellZ, Feb 9, 2010.

  1. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    [​IMG]

    So my picture and my text... what I do is actually make a table in every post, make it 450 width and align it. same with picture. my title is different.

    In where do you think I can edit the source code so that each title will appear also in the middle, like that? which part of the wordpress do you think?
     
  2. ericsson

    ericsson Elite Member Premium Member

    Joined:
    Apr 25, 2009
    Messages:
    2,642
    Likes Received:
    8,132
    Occupation:
    www
    Location:
    Swe
    Home Page:
    Center the topic?

    <div align="center">

    Tried?

    //J
     
  3. CoyoteAssassin

    CoyoteAssassin Elite Member

    Joined:
    Jan 3, 2010
    Messages:
    1,862
    Likes Received:
    3,906
    Occupation:
    Full Time IMer
    Location:
    USA
    I think Ericsson is correct. You'll need to look for the PHP take within the Main Index page that tells Wordpress to insert the page title. Within the code, you will not see "Cheating V1" unless you look at it from a browser.

    I hope this helps.
     
  4. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    Here is the thing...

    It will ALIGN the text, so it'll look something like this

    "This is en example
    of how the text will look like"

    I want to make it so it'll look like this


    "This is an example
    of how the text will look like"

    See the difference?

    So yeah, thats what I am wondering how to do

    What I think (and I hope Im wrong) is that I need to state how many pixels it should move to the right, to make the text start.. but.. I am not sure
     
  5. sidnettwo

    sidnettwo Junior Member

    Joined:
    Jun 5, 2009
    Messages:
    135
    Likes Received:
    60
    You could use left-padding to move the text in however much you want. Either do that in the css or do it directly on wahtever specific element it is.
     
  6. AternusW

    AternusW Newbie

    Joined:
    Aug 24, 2009
    Messages:
    29
    Likes Received:
    78
    IMO best practice would be to add a new CSS class rule and apply it to the titles.

    Code:
    .MyTitties {
        white-space: nowrap;
        text-align: center;
    }
    
    Will make the text appear on one line centering in the middle.

    Edit: Make sure that there is no inheritance affecting the title position otherwise you'd have to apply it to the the div of the title (if exists).
     
    Last edited: Feb 9, 2010
  7. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    Okay, lets go back to this for a second.

    What about the date/time, where do I allign that?
     
  8. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    Is this it?

    Nope, not it.

    I put in "center" and "right" and nothing changed
     
    Last edited: Feb 9, 2010
  9. richcamp

    richcamp Regular Member

    Joined:
    Oct 5, 2009
    Messages:
    315
    Likes Received:
    119
    Have a look at your index page and see what the class name for date and time. Once you know what it is, you can then search it on style.css for that name. You should see the name and attribute for that name. You can modify it there.
     
  10. SpellZ

    SpellZ Regular Member

    Joined:
    Feb 8, 2009
    Messages:
    357
    Likes Received:
    312
    Location:
    Toronto, ON
    My style.css is empty lol
     
  11. richcamp

    richcamp Regular Member

    Joined:
    Oct 5, 2009
    Messages:
    315
    Likes Received:
    119
    Well, look for any .css that come with the theme then. If it doesn't have .css then maybe you should look for other themes