Forums

[resolved] Center content of page & missing background color (4 posts)

  1. JT101
    Member
    Posted 2 years ago #

    Hi all

    If you go to http://www.thebreadcrumbtrail.org/gallery, you'll see a boxed gallery of three images. How can I center this box within the page? I've tried text-align: left; in my css but it did not work.

    The second issue I'm assuming is a missing or additional DIV tag but I just can't find it. I've already looked at validator. If you look at the other pages on my website, the content has a beige background to match the post_top_frame and post_bottom_frame. But it's not showing.

    Below you will find my Theme and CSS files. Thanks so much

    Here is the css for the page:

    [HUGE chunk of code moderated - please use wordpress.pastebin.ca - or link to file]
    `

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Start by sorting out the validation errors in your theme. Two DOCTYPES in 1 page isn't a good idea. Then move onto the CSS errors. At least one of your .css files is missing.

  3. JT101
    Member
    Posted 2 years ago #

    Hi Esmi

    Well if you go to the CSS errors you posted, you'll see that it isn't true what it says about the missing css file. If you click on http://www.thebreadcrumbtrail.org/wp-content/themes/Breadcrumb trail/style.css it comes up.

    I've managed to clear some issues up by editing the style.css of my theme. But I still can't center the boxes. I'll have a shot at the validation errors, but I don't really understand it.

    I've got a feeling it's my style.css still screwing things up, since the gallery is centered on the backend of the plugin Gallery2. Although I don't think the container of the thumbnails has a fixed width. This is what I want to change also

    Oh, and here is the code for the CSS and gallery.php since it was moderated:

    http://www.wordpress.pastebin.ca/1808257

    Thanks

    James

  4. JT101
    Member
    Posted 2 years ago #

    Hi Esmi

    I've done a little bit of fixing validation errors before, but it's complete guesswork. Looking at the errors now, I have no idea what to do. I could change things, but I'm concerned I'll screw up the theme by deleting certain things.

    Is there a forum where someone like me can get help with this. To be honest I'm clueless about this validation stuff.

    Thanks

    James

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.