• Resolved sousdubois

    (@sousdubois)


    Hi Everyone,

    Im using the latest version of wordpress and i was wondering if i can deactivate certain parts of my template.

    Could anyone tell me how en in which files to do this ?
    If there is more information required please tell me.

Viewing 6 replies - 1 through 6 (of 6 total)
  • What exactly do you mean by “deactivating” certain parts of the theme? Are you trying to hide certain sections? The files that need to be modified will depend on what you want to accomplish, but you might be able to make changes with just CSS. Before making any changes, however, be sure to first create a child theme or else your changes will be lost the next time you upgrade the theme.

    Thread Starter sousdubois

    (@sousdubois)

    Yes im trying to hide certain sections.
    Tried to use several css uncomment syntaxes but unfortunenately it was not working.

    Can you please post a link to your site and describe what you are trying to hide?

    Thread Starter sousdubois

    (@sousdubois)

    flippert.nl
    Everything under : Residents except the footer.

    Each section (except the newsletter section) has an ID associated with it, so just add this rule to the custom CSS:

    #about,
    #call-to-action,
    #client,
    #blog,
    .newsletter-bg,
    #contact {
       display: none;
    }

    Even though the newsletter section doesn’t have an ID associated with it, it has a class that should be unique enough to use. And I didn’t know if you wanted to hide the Residents section as well. If so, just add #Residents to the selector.

    Thread Starter sousdubois

    (@sousdubois)

    Got it working Thnx !

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cut or deactivate parts of a theme’ is closed to new replies.