morefoot not drilling down within blog posts and need a fix for bbpress

Recommended Posts

dutch
0

dutch 0

.blog #morefoot {display:none;} works fine for the first page, but as soon as you click a link to either view categories or an actual post it appears again.
Plus I have bbpress integrated but have the problem of not being able to move the three columns.
Does anybody have a solution?

Share this post

Link to post

Share on other sites

dutch
0

dutch 0

Hi Catrina,
Reading through my original query I can see that I didn't mention that I needed the three columns on the home page but not throughout the site. The basic post pages were simple to take them away - through the admin. Unfortunately the admin feature of switching it off didn't work for the blog or forum sections - hence using .blog #morefoot... which worked fine for the first page of the blog but as soon as you drill down it breaks. As for the forum I just need a solution.
I still want the #morefoot on the home page just not on the rest.

Share this post

Link to post

Share on other sites

catrina
103

catrina 103

Okay, sorry about that. I figured out a new solution. To change the coding so that the box with the columns only shows up on the Home page, you need to do the following:
1) Replace the CSS code that I gave you previously with this one:

div#individualfoot {display:none;}

2) Go to where you edit the HTML for the single post and find this code:

<div id="morefoot" class="fboxes fix">

. The "morefoot" needs to be changed to "individualfoot" so that the coding looks like this:

<div id="individualfoot" class="fboxes fix">

3) Go to where you edit the HTML for the single pages and repeat step 2.
All of the boxes with columns should be wiped out except for the one displayed on the Home page.

Please read the docs before posting. Please do not private message me unless I ask you to.

Share this post

Link to post

Share on other sites

catrina
103

catrina 103

In Appearance on the WordPress panel, go to "Editor" and once you're there, you should see a list of links on the right where you can edit the HTML coding for specific pages. Click on the link that says "Single Post" and you will be able to perform Step 2. To perform Step 3, click on "Page Template".

Please read the docs before posting. Please do not private message me unless I ask you to.

Share this post

Link to post

Share on other sites

dutch
0

dutch 0

Hi Catrina
Not getting anywhere I'm afraid. The pages you list are .php that refer to other php referring to other php's and within each I cannot locate the div's to replace.
There is only one global - morefoot.php
Could this be the one?

Share this post

Link to post

Share on other sites

catrina
103

catrina 103

I'm finding that the solution is still wiping out the box with columns in all pages. Even if the coding for that box for a Single Post is edited, it's affecting the box on the Home page, too. Please delete this:

div#individualfoot {display:none;};

For now, I'll keep re-working it to see what could be the problem.

Please read the docs before posting. Please do not private message me unless I ask you to.

Share this post

Link to post

Share on other sites

catrina
103

catrina 103

Okay, I see that taking away the code made no difference. I might have the solution, but it might be easier for me to get in there to see what's going on and solve the problem. Would you mind? Also, thank you for your patience.

Please read the docs before posting. Please do not private message me unless I ask you to.

Share this post

Link to post

Share on other sites

bryan-hadaway
3

bryan-hadaway 3

There was never any need to hard code anything, this was all too unnecessary, if you can recover/revert all code back to it's original place, you only need to add a few lines of CSS to:
Theme Options > Custom Code > Custom CSS:
`
#morefoot{display:none}
.home #morefoot{display:inline}
`
and if that looks messed up at all, use this instead:
`
#morefoot{display:none}
.home #morefoot{display:block}
`
Thanks, Bryan