Event archives template layout

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 11 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #3513

    Event archives template reuses id=”content” thus, duplicating the styles in most all WP themes. Is there a way to edit the html that is generated on the archives page so that the id’s don’t conflict? Or some other solution.

    Thanks,
    Katie

    Katie Roberts
    #3518

    Hi Katie,

    The default archives template dictates the template for the entire page, so the id="content" shouldn’t be duplicated on that page. But you’re right, a lot of themes will use it – but hopefully for the main content of the page – and so it will style it appropriately. The template is based on TwentyTwelve/Eleven – which a lot of themes tend to use as a base.

    But obviously its not going to work with every theme – and to answer your question, yes and its very easy to keep your changes separate from the plug-in (and so avoid loosing changes with an update). See this page on editing the templates :).

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.