Custom HTML for post
-
I am able to see tables in custom html preview but the tables do not show in google chrome page preview.
This is a picture of what I see in Custom Html preview. My theme is Vantage (Site Origin). I was directed here.
https://www.alexanderfuneralhomeinc.com/wp-content/uploads/Capture.jpg
Keep in mind. This is all fictitious and backdated so it doesn’t show as recent.
The page I need help with: [log in to see the link]
-
Hi, thanks for posting your question.
Where are the styles shown in your screenshot stored? Where does the styling originate from?
On another note, your child theme style.css file ideally should only contain your customizations. It looks like your child theme style.css file is a duplicate of the parent stylesheet. I’m not sure where the parent style.css file is. If you know what’s happening here then no worries.
Hello Andrew,
I sincerely wish I knew the answer to your questions. π Styles in screenshot? I haphazardly created the child theme based on vantage instructions because it was suggested prior to upgrading my Word Press to a newer version. I had no idea if I did it correctly or not so it appears not. I copied the parent stylesheet to do this so that’s on me.
As for customizations, I don’t know if there are any and I don’t know how to find out if there are.
I am beginning to believe that maybe I should just stick with the plain post to avoid further confusion on my part. π
https://www.alexanderfuneralhomeinc.com/wp-content/uploads/vantage-theme-editor.gif
Thanks for the update.
If you haven’t added any code-level customizations to your child theme you can install the starter version listed at the below URL:
https://siteorigin.com/vantage-documentation/child-theme/
How did you add the gold table borders in your screenshot and are those changes published?
Thanks for responding.
Published: https://www.alexanderfuneralhomeinc.com/adubois/
Screenshot1: https://www.alexanderfuneralhomeinc.com/wp-content/uploads/custom-html-block.jpg
Screenshot2: https://www.alexanderfuneralhomeinc.com/wp-content/uploads/custom-html-preview.jpg
Screenshot3: https://www.alexanderfuneralhomeinc.com/wp-content/uploads/published.jpgI added the gold table borders by placing the following code in a custom html box: (Screenshot 1)
<center> <table bordercolor="#CAA201" width="100%" background="https://www.alexanderfuneralhomeinc.com/wp-content/uploads/2020/11/whitespacer150x32.jpg" border="10" cellpadding="10" cellspacing="25"> <tbody><tr><td> <center><font face="VERDANA" color="000000" size="6"> ANGELINA DUBOIS </font></center></td></tr></tbody> <tbody><tr><td> <br> <center><img src="https://www.alexanderfuneralhomeinc.com/wp-content/uploads/dove-placemat255x255.jpg" /></center> <br> <center><img src="https://www.alexanderfuneralhomeinc.com/wp-content/uploads/rememberedwlove215.jpg" /></center> <p align="left"><font face="verdana" size="3" color="#000000"> </font></p> <table bordercolor="#e6b800" width="100%" background="https://www.alexanderfuneralhomeinc.com/wp-content/uploads/2020/11/whitespacer150x32.jpg" border="2" cellpadding="0" cellspacing="3"> </table> <font face="verdana" size="3" color="#000000"><br><br> LAKE ALFRED β Angelina Dubois, age 57, passed away July 5, 1985. <br><br> VISITATION: <br> Friday, July 12, 1985, 5β7 p.m. at Alexander Funeral Home, 620 Avenue T NE, Winter Haven, FL 33881 <a href="https://www.google.com/maps/dir//Alexander+Funeral+Home+Inc,+620+Ave+T+NE,+Winter+Haven,+FL+33881/@28.0437423,-81.7540603,13z/data=!4m9!4m8!1m0!1m5!1m1!1s0x88dd12cea82adba3:0x8d9a77094aad44d9!2m2!1d-81.7190314!2d28.0436711!3e0" target="_blank"" rel="noopener"> Directions </a> <br><br> FUNERAL SERVICE <br> Saturday, July 13, 1985, 11 a.m. at New Bethel Missionary Baptist Church, 123 Ave Y NE, Winter Haven, FL 33881 <a href="https://www.google.com/maps/dir//new+bethel+missionary+baptist+church+winter+haven+florida/@27.9973037,-81.7352137,12z/data=!4m9!4m8!1m0!1m5!1m1!1s0x88dd12d2d635ff97:0x26f95ed4bae3757e!2m2!1d-81.7271604!2d28.0484959!3e0" target="_blank" rel="noopener"> Directions </a><br><br> INTERMENT: <br> Burial will follow at Rolling Hills Cemetery, 4810 Tilden Rd, Winter Haven, FL 33881 <a href="https://www.google.com/maps/dir//rolling+hills+cemetery/@27.9989883,-81.7350273,12z/data=!4m9!4m8!1m0!1m5!1m1!1s0x88dd6d7cd92de173:0x3c1c7878d20af9e4!2m2!1d-81.6941099!2d28.0845347!3e0" target="_blank"" rel="noopener"> Directions </a> </font><p></p><br><p></p> </td></tr></tbody></table></center>-
This reply was modified 3 years, 10 months ago by
Yui.
-
This reply was modified 3 years, 10 months ago by
Steven Stern (sterndata).
Hi, apologies for missing your reply. I’m not sure what happened with email notifications. Have you perhaps made progress?
No progress made. I have been waiting on a response after have posted the html code that I entered in my previous message.
I don’t understand what this means at the bottom of my previous message:
This reply was modified 1 month ago by Yui.
This reply was modified 1 month ago by Steven Stern (sterndata).Thanks for the update.
I’m unsure who could have modified your reply; perhaps forum moderators?
I’m unsure where the additional styles in the preview are originating from. You can perhaps give your table a class name as follows:
<table class="gold-table">At Appearance > Custom CSS or Customize > Additional CSS you can target the class name:
table.gold-table { border: 4px solid #ffd700; } table.gold-table tr { border: 1px solid #ffd700; }The CSS rules and declarations can be customized as required.
-
This reply was modified 3 years, 10 months ago by
The topic ‘Custom HTML for post’ is closed to new replies.
