• Resolved CBphotography

    (@cbphotography)


    Hi all, I am new to www.remarpro.com and I am obviously still learning. I am having an issue with the layout of my blog concerning the blog post title in conjunction with the other blog posts. I know that sounds confusing, but just check out my blog here and you can see the problem.

    https://www.colbybrownphotography.com/blog/?p=287

    On the main page of my blog, there is no problem, but once you click on a specific blog post, the titles of the posts around it interfere and the blog titles look off.

    I don’t even know where to start to fix this.

    I would appreciate any and all help in fixing this issue, thank you.

    Colby

Viewing 6 replies - 1 through 6 (of 6 total)
  • in the style.css add clear:both to the style of .post:

    .post {
    	margin: 0 0 40px;
    	text-align: justify;
             clear:both;
    	}

    that should do the trick.

    Thread Starter CBphotography

    (@cbphotography)

    That didn’t seem work. Basically what I am looking to do is to put the title of the post I am on one line lower and centered over the body of the post. The links on the top can stay on top and I would think they wouldn’t get in the way if the title of the current post is lower and centered.

    You can add a div to you title call in the single post.php
    There should be a line that looks like this <?php the_title(); ?>

    Enclose it in a div command thus: <div align=”center”><?php the_title(); ?></div> – this should center the post title when viewing the post.

    As for having it one line down just ad a break thus
    </br> above the title call indicated above.

    Hope that is what you are trying to acieve, good luck.

    hi, i can see you are working on it.

    to get the title centred, use

    .post h2 { text-align:center; }

    just make a new line in the style.css

    Thread Starter CBphotography

    (@cbphotography)

    If I use:

    .post h2 { text-align:center; }

    Then the entire post is Centered. What I am looking at doing is Centering the Blog Post Title, which in the case of the link I posted is:

    “Welcome to the Newly Redesigned Colby Brown Photography”

    I tried to add the <div align=”center”><?php the_title(); ?></div> but it didn’t change anything…

    Thread Starter CBphotography

    (@cbphotography)

    Never mind….it is working now. I wasn’t including the <div align> within the <H2>.

    Thanks for all the help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Title of Blog Post Position trouble…’ is closed to new replies.