• Hi, I’m trying to set up a WP site to run alongside our church’s main site so auxiliary groups can have direct access to posting news and things without mucking up our main site.

    On our main site, we have a sidebar with three different elements, each listed as separate html documents (though I believe they’re parsed as PHP – here’s where I’m getting in over my head) that are referenced throughout the site. I want to include these elements on the WP site’s sidebar – so far, I’ve simply embedded the html document’s URL in an iframe with the Text widget. Good news – the text shows up; bad news – it’s not referencing the proper CSS for the div. See the WP site here.

    I copied the relevant CSS code from our main site and pasted in the WP theme’s main CSS document (there are three total CSS files that I can see – rtl, style, & editor-style) – no success there. If you could point me in the right direction, I would appreciate it greatly – thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • it’s not referencing the proper CSS for the div<<

    Please explain a bit!!

    Thread Starter gsimusic

    (@gsimusic)

    I just want the sidebar portion of the WP site to take on the same text formatting (font, sizes, colors) as the corresponding section on the main site. I would copy and change the HTML code, but the whole point is to edit the content (which we do weekly) and have it change across both the main site and the WP site. Thanks in advance!

    You need to work a bit with stylesheet try help on w3schools dot com

    Thread Starter gsimusic

    (@gsimusic)

    Thanks for the tip. I’m continuing to research, but let me ask this – if I embedded the HTML page using an iframe, do I need to insert a link to the stylesheet within the iframe?

    Thread Starter gsimusic

    (@gsimusic)

    I got it to work – I added a line of code to the html page I was trying to embed:

    <link rel=”stylesheet” type=”text/css” href=”(URL of main page’s CSS file” />

    I added it under the div class line. thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Embed page not referencing CSS’ is closed to new replies.