• I want to create a magazine sidebar-like feature in a blog article and want to have the background for that sidebar a different colour from the rest of the article.

    I know it can be done, and how to do it, on a paragraph by paragraph basis as on this site, https://peterstamp.com/. But I’m uncertain how to keep the background colour change to span paragraphs.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You would have to either get a plugin for inserting tables into posts or use the HTML editor and use CSS in the post to create two side-by-side divs. Give each div an ID or class and assign the background color to the sidebar div with CSS.

    Thread Starter RobertF

    (@photog)

    I have a tables plugin already installed. Hadn’t thought of that.

    Inline CSS is the same way I created the different paragraph backgrounds for the site linked in my initial post. I can play around with that as well.

    Using a table may be the easist way though.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change Background Color for Multiple Paragraphs’ is closed to new replies.