Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8100029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T22:37:29+00:00 2026-06-05T22:37:29+00:00

I have a WordPress site (installed in root) and a Simple Machines Forum (in

  • 0

I have a WordPress site (installed in root) and a Simple Machines Forum (in /forums). I’ve spent hours trying to add the WordPress header over the SMF, but with little luck. I’ve probably looked at 50+ guides on the subject as well, but the only things that remotely worked was an iframe (which somehow messed up sessions or something with the forum). So don’t think I haven’t try it myself before asking you guys.

Anyway, what usually happens appears to be stylesheet mixing: I can get parts of the header to display, but it seems like the SMF theme stylesheets are messing it up. For example, see this picture:

http://gyazo.com/62551a8b45b7e50c2a41684da7b261f8.png

I’ve tried:

  • Using a simple WordPress get_header() function after including wp-blog-header.php
  • This guide: http://www.nutt.net/2009/08/16/how-to-wrap-a-smf-forum-in-wordpress/
  • Laboriously recreating the header using more unique ids, etc., in an attempt to avoid CSS overlap.
  • Using JQuery’s .load.
  • Using an iframe. Yay for ancient iframes; only it came close.

I basically just want my WordPress header displaying over the SMF, and then hiding the SMF (probably with display:none or something).

Please advise…my eyes hurt from working on this way too much. Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T22:37:31+00:00Added an answer on June 5, 2026 at 10:37 pm

    I think I found a working answer. I basically used the CSS descendant selectors to apply the WordPress styles only to the header. So, I took the id of the div surrounding the header (for example, “wp-header”), and then added #wp-header to the beginning of each CSS selector in WordPress’s stylesheet (using a copy for the header, of course; I also deleted a lot of irrelevant styles). Notepad++’s macros were quite useful.

    I am not sure if there was a more elegant solution, but this to be holding up.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a wordpress site and i am trying to add a phpbb3 forum
I have cakephp installed in the root directory. site.com/ i want to install wordpress
I have to upgrade a running wordpress site's wordpress CMS and some installed plugins.and
i have an wordpress site and it have menus over there. what i want
I have wordpress site. I have installed modern-blue-green-120070612-2 theme.Then i got an error message
I have a LAMP stack with APC installed. I have a WordPress site on
I have installed wordpress on my site located at www.example.com/blog . on www.example.com I'd
I've just installed wordpress at the root of my site and created a custom
The issue is like this....... I have Joomla and WordPress installed on one site
I have a site that uses wordpress for community purposes, it is installed under

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.