-
AuthorPosts
-
June 17, 2016 at 6:18 pm #649923
I am trying to include a copy of the newsletter that we send out quarterly in a post page. The HTML gets messed up, showing up in blocks and not spaced or centered correctly (see the link in Private Content). I would like it to look exactly like the newsletter looks in the email and on a regular website. I’ve tried using the Code Block, but it doesn’t work and doesn’t seem to be documented very well. I’ve also tried it using a Text Block, which shows it looking mostly right in the preview, but again is not right on the actual page. Even tried as a regular page (not post) with same results.
Can I please get some help and input on how to make this work correctly.
Thanks.
June 17, 2016 at 9:52 pm #650003Hi advteksol!
AS it seems some stuff of the code you are adding are left open and there are mistakes to the code.
I am sorry but adding or modifying it is outside our support scope.We will be happy to help with anything else, related to our theme
Cheers!
BasilisJune 17, 2016 at 10:18 pm #650008The HTML coding works correctly in emails and as a regular HTML page. Your page is making it off.
Can you please explain the Code Block and the settings therein.
June 20, 2016 at 5:10 am #650588Hi,
Could you point out the problems in a screenshot or try to explain a bit further and we’ll try to give you some custom CSS to use?
Regards,
RikardJune 20, 2016 at 3:33 pm #650871Here’s some images. It should look like a web page – no boxes, etc.
As I mentioned above, you can click on the “open webpage in browser” link to see what it should look like.
Thanks.
June 22, 2016 at 4:48 am #651863Hi,
Please try to add this in the Quick CSS field to fix the table styling:
.single table { width: auto; }
Best regards,
IsmaelJune 22, 2016 at 3:13 pm #652138That helped some with the formatting, but there’s still boxes around each table. How can those be removed?
June 22, 2016 at 3:18 pm #652146Hey!
Please add following code to Quick CSS as well
.single-post table * { border: none!important; }
Cheers!
YigitJune 22, 2016 at 3:27 pm #652159Great, got rid of the boxes! Last thing is the spacing between lines is to wide (tall), how can I shrink that?
June 22, 2016 at 3:39 pm #652169Hi!
There are some TR tagged elements with BR tags inside them. Please edit your code and remove them.
Regards,
YigitJune 22, 2016 at 3:53 pm #652175Did a visual and page search (Cntrl-F) and could not find any BR tags. It seems to be the height of the lines, not a <br> (line break) between them.
June 22, 2016 at 4:05 pm #652187Hey!
You can see empty tag and br tag in the screenshot in private content field
Regards,
YigitJune 22, 2016 at 4:36 pm #652226When you look at the code on the post page, there is nothing like that there. Also, if you inspect the elements on the straight HTML page (click on the “open webpage in browser” link) you’ll not see this either. I’m thinking Enfold (or perhaps WordPress) inserts them.
June 22, 2016 at 4:54 pm #652246Hey!
Please edit your post, go to text tab and remove highlighted section and following TR tag (until closing of it). I removed the first one and space is less now.
Regards,
YigitJune 22, 2016 at 5:12 pm #652262I’m not looking to change the spacing between the sections – just the distance between text lines (http://imgur.com/HOWsAPm).
June 22, 2016 at 5:22 pm #652268Hey!
Sorry for the misunderstanding. Please add following code to Quick CSS
.single-post table p { line-height: 20px; }
Best regards,
YigitJune 23, 2016 at 7:21 pm #652688Thanks for your help! Please close this thread.
-
AuthorPosts
- The topic ‘Add HTML Newsletter to be viewed as post’ is closed to new replies.