• HI folks, apart from my Home page I’m seeing unentered html text on several of the pages, the link below is to the ABOUT page of which at the page end you will see the problem, would muchly appreciate any help in this regard. I’ve included my custom CSS changes using Custom css plugin.
    Thanks in advance to anyone who can help
    My site

    https://dunamaisebeekeepers.com/index.php/about-beekeeping-in-laois/

    My Custom CSS changes

    body.custom-background {
    background-image: url('https://dunamaisebeekeepers.com/wp-content/uploads/2014/05/DSCF2489.jpg');
    no-repeat center center fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
    .header_wrapper{
    background-color: #725f14;
    }
    p#slogan {
    float: right;
    font-size: 44px;
    color: #0d2c70;
    text-transform: uppercase;
      text-decoration:bold;
      text-align:center;
      text-shadow: 5px 5px 8px #7a959b;
    padding-top:30px;
    margin-left: -70px;
    margin-top: 27px;
    font-family: 'Kreon', Arial, sans-serif;
    }
    
    /*media="screen"
    .featured-description {
    position: absolute;
    width: 340px;
    height: 160px;
    top: 50px;
    right: 53px;
    background: url(images/featured-description.png);
    padding: 37px 33px 40px 40px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
    display: none;
    }*/
    .featured-description {
    position: absolute;
    width: 140px;
    height: 160px;
    top: 50px;
    right: 53px;
    background: url(images/featured-description.png);
    padding: 37px 33px 40px 40px;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
      display:none;
    }
    
    ul#top-menu a { font-size: 18px; font-family: 'Kreon', Arial, sans-serif; color: #393939; text-decoration: none; font-weight: normal;float: center;
    padding-top: 1px;
      }
    
    #breadcrumbs {
    font-size: 14px;
    font-family: 'Kreon', Arial, sans-serif;
    font-weight: lighter;
    padding-top: 17px;
    padding-left: 48px;
    color: #1d1d1d;
    margin-bottom: 28px;
    display: none;
    }
    #top-menu
    {
        width:760px;
        border-style:solid;
        border-width:1px;
        text-align: center;
        -webkit-border-image:
               -webkit-linear-gradient(left, rgba(255,255,255,1) 1%,rgba(0,0,0,1) 50%,rgba(255,255,255,1) 100%) 0 0 100% 0/0 0 5px 0 stretch;
    
    }
    #header.tc-header { background: #a6b7ed; }
    
    #search-form {
    float: right;
    background: url(images/search-bg.png) no-repeat;
    width: 161px;
    height: 28px;
    display: none;
    }
Viewing 6 replies - 1 through 6 (of 6 total)
  • Since you’re using a non wp.org theme, please ask the theme author’s for support.

    the stray code is for registering the sidebar widget areas, and is typically to be found in functions.php (or any other functions file) of the theme;

    have you edited anything else than the custom CSS?

    It looks to me as if you, or someone, has not included a <?php tag prior to running that code so it is being rendered as straight text in the html file. As I do not have access to your site I could not tell you exactly where that is. It could be in the functions.php as alchymth stated.

    Thread Starter Paul Owens

    (@paul-owens)

    Thanks for the reply.
    Now there’s the problem, I may have unintentionally altered a php file, if I have, what would be my steps to find it’s location and then how to rectify.Thanks.

    Since we have no idea what template file(s) you have altered, I would recommend re-uploading a fresh, unpacked, copy of the theme’s folder to wp-content/themes using FTP or whatever file management application your host provides.

    You could use a free tool such as windows grep to search through all of the files in the theme folder for you, looking for the search phrase register_sidebars and that will probably help you narrow down where to begin. Other than that, esmi’s solution does make the most sense though it may cause you to lose any changes you have made.

    I hope this helps.

    Bob

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘unentered HTML coming up on my pages.’ is closed to new replies.