Viewing 3 replies - 1 through 3 (of 3 total)
  • @alecwordpress

    I think this could be done using the ‘s2_html_email’ hook in the Subscribe2 API.

    Configure Subscribe2 to NOT use CSS, but then write a function to take advantage of the above hook and insert the appropriate <link> to TwentySixteens stylesheet.

    Something like a str_replace() that replaced <head> with <head><link etc >.

    Thread Starter alecwordpress

    (@alecwordpress)

    That’s going to be too complicated for me. All I need are responsive images that don’t extend past the user’s display. Is there a way to add them without having to write a complete function?

    Also, the images are displaying as alt-text in Gmail. I’m not sure what that’s about.

    @alecwordpress

    Writing a little code is the only way I can think of doing what you are asking for.

    Gmail ignores quite a lot of HTML & CSS email content to ensure it will display in a browser without causing issues.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How to Link to CSS?’ is closed to new replies.