• Resolved babussell2

    (@babussell2)


    So, I purchased this really nice theme. However, it no longer offers support from the developers unfortunately.

    So, I’ve been trying to insert horizontal lines using the <hr> tag, and it’s not appearing at all. I also input a table on one of the pages, and the words are formatted as a table, but the lines doesn’t appear.

    Any suggestions?

    The website page where the HR line isn’t showing up is https://franchisesociety.com/lodging-transportation/

    And the page where I inserted a table that isn’t appearing is https://franchisesociety.com/deadlines/

    Thanks ahead of time!

Viewing 1 replies (of 1 total)
  • CrouchingBruin

    (@crouchingbruin)

    Not sure why this theme does this, but it sets the border property of the hr elements to 0 so nothing shows. What you need to do is add a CSS rule like this:

    
    .post-content hr {
       border: 1px solid #000;
    }
    

    You can change the color to whatever you want, I’ve set it to black (#000), but a gray color like #ccc might be better. You can also adjust the line thickness by changing the first parameter. You can see other values for styling the border property here.

    You can do the same thing with the table cells:

    
    .post-content td {
       border: 1px solid #000;
       padding: 5px;
    }
    

    I added a padding property so the text isn’t butt-up against the borders.

    So normally I include a warning about not making changes to the theme’s style.css file, because the next time you update the theme, your changes will be lost, but it sounds like maybe there will be no more updates to the theme? At some point, you should think about switching themes, then, because you are going to want to use a theme that stays up to date with the latest security patches and WordPress core updates.

Viewing 1 replies (of 1 total)
  • The topic ‘HR tag and tables not appearing on wordpress theme’ is closed to new replies.