To insert code use <code>...</code>.
Customised Code for new section/div (@ the bottom of page) that spans the page width. Suggestions?
  • Hi,

    I am using the “Full Width” layout.

    I would like to add another section/div (at the bottom of page). THAT SPANS THE WIDTH OF THE PAGE. This can’t be currently done because the content is restricted to a set width.

    I presume I would need to manually code this section (div).

    I presume I would add the code above the current <div id="page_bottom"></div>

    >>>> Can someone please show me the code to insert & where?

    Please see attached for a visual example.

    Thanks in advance
    Shane
    new div bottom of page.jpg
    1681 x 271 - 97K
  • 3 Comments sorted by
  • Hi

    That would require a lot of coding since the page_bottom div is in almost every php file in the root of the striking theme folder.

    Anyway open the page.php and at the bottom you see the code. You can add your code just one line above after you first did insert a empty new line.

    You will also have todo this for the templates, the single pages, 404, search etc and have to redo this on every theme update.

    this wont work when boxed layout is turn on the the general striking settings,.

    Best regards,
    BackuPs
  • Hi BackuPs,

    I just need this new div on the home page.

    It's purpose is to display my clients I have worked with. So only to be displayed on the home page. I am going to create a graphic and insert it into the div.

    Therefore there is no need to do this for the "templates, the single pages, 404, search etc"

    Is that correct? Please confirm?

    Thanks
    Shane

  • Hi Shane,

    Correct. However you should include the if is_home() etc otherwise it will also work on other pages.

    Best regards,
    BackuPs