WordPress.org

Ready to get started?Download WordPress

Forums

New Template not showing correctly for homepage (4 posts)

  1. atlantafilms
    Member
    Posted 7 years ago #

    I had to create a custom homepage template for my website. When I added the contaniner tag the page did not format correctly so I had to add a two column table to put the page into the left colum and the sidebar into the right column.

    It pretty much displays correctly, BUT the template I'm using shrinks any text inside the table so the custom homepage text is smaller than the rest of the site. Could someone please take a look and give me some feedback?

    Here is the homepage (not displaying correctly): http://www.atlantafilms.com/

    Here is a page that does display correctly: http://www.atlantafilms.com/about-us/

  2. citeewurkor
    Member
    Posted 7 years ago #

    I used the webdeveloper extension to add a table style:
    table {
    font-size: 1em;
    }

    This made it display properly in my browser.
    You could add an inline style just for your homepage.
    In your table tag, add an inline style to set the font size to 1em.
    i.e.
    <table style="font-size: 1em">
    I noticed in the source code, there's a class called "table2", but I couldn't locate that in your CSS anywhere.

    Hopefully that'll help ya.

  3. atlantafilms
    Member
    Posted 7 years ago #

    THANK-YOU citeewurkor!!

    I added <table style="font-size: 1em"> and it worked like a charm.

    Yes there was a Table2 tag that I had created trying to fix the problem. I forgot to delete the reference to it.

    Thanks again!!

  4. citeewurkor
    Member
    Posted 7 years ago #

    Glad it worked for you. Granted, using tables for layout is supposedly discouraged, but if it works, it works. :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.