WordPress.org

Ready to get started?Download WordPress

Forums

[closed] dublicatate articles, invisible div (3 posts)

  1. vengaBG
    Member
    Posted 2 years ago #

    HEllo i have some problem with my custom TwentyEleven Template.

    Twentyeleven added a <div id="primary"> from somewere.
    I dont have a <div id="primary"> in my sorce of page.

    I have only:
    <div id="header">
    <div id="buttons">
    <div id="showmy">
    <div align="center">
    and this probelem duplicate the titles and articles.

    This is the site: http://nvesdesign.aideee.com

    How i can disable this <div id="primary">????

    [duplicate: http://wordpress.org/support/topic/problems-with-customise-twentyeleven?replies=2 - please continue with your original topic]

  2. gerald@WPcustoms
    Member
    Posted 2 years ago #

    the primary div is hardcoded in nearly all template files so you either have to remove the css definition for the primary/content classes or go through all files and change the code.
    notepad++ offers a "search and replace in all files" option as far as I think.
    that might work well.

  3. gerald@WPcustoms
    Member
    Posted 2 years ago #

    oh and don't forget to take care of the closing divs.
    it will break your layout if it is not accordingly removed.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.