Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #239620

    Hi, I am trying to create a custom page template with html text in it, I can get it to work but the styling is a bit messed up, I have copied the page.php file renamed it and added html text and image but after I have lost the padding between the content and the sidebar as well as special characters don’t show up. I examined a regular page that was created with the wordpress editor and it seems like my page template with html content is missing the div- <div class=”entry-content” itemprop=”text”> so I tried to wrap my html content in that div but it didn’t work….. Any suggestions on how I can get this to work?

    #239621
    This reply has been marked as private.
    #239923

    Hey!

    Look for line of code:

    <div class="entry-content" itemprop="text">
    

    Replace it with:

    <div class="entry-content-wrapper clearfix">
    

    Cheers!
    Ismael

    #240091

    Thank you very much Ismael! Enfold theme and support is the best I have come across since I’ve been working with wordpress. You guys do excellent work :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘page templates’ is closed to new replies.