I would also add..
Could there be some inline code overriding my css on this page?
I don’t fully understand what I’m looking at when I right click and press ‘inspect’ on the header.. but when I unlick things in the right bottom css part it does appear to have an affect on the header styling. If so, I have no idea how to override it.
This is the css that appears to work for all my other pages:
a, .page-title {
font-family: a-love-of-thunder;
}
.ast-theme-transparent-header .site-title a, .ast-theme-transparent-header .site-title a:focus, .ast-theme-transparent-header .site-title a:hover, .ast-theme-transparent-header .site-title a:visited {
font-family: a-love-of-thunder;
}
.ast-theme-transparent-header .site-header .site-description {
font-family: a-love-of-thunder;
}
.ast-theme-transparent-header .site-title a, .ast-theme-transparent-header .site-title a:focus, .ast-theme-transparent-header .site-title a:hover, .ast-theme-transparent-header .site-title a:visited {
font-weight: normal;
text-shadow: 0px 0px 0px rgba(0,0,0,0.3);
}
.ast-theme-transparent-header .site-header .site-description {
font-weight: normal;
text-shadow: 0px 0px 0px rgba(0,0,0,0.3);
}
hmm, I took a look, and yes it’s another theme that is lazy and does it’s css using inline, which makes it a real pain to debug or override.
but I can’t see what is wrong to cause it.
do you have a forums’s page using a shortcode or are just using a url to go to forums?
see item 8 in this to understand what I mean
Step by step guide to setting up a bbPress forum – Part 1
Hi Robin,
Thank you very much for replying!
Ah yes, so it’s the ‘forum index’ page that is displaying a different style to all the other pages.
I’ve used the short code: [bbp-forum-index] on the forum index page that I made in the WordPress ‘Add New’ page.
I’ve then linked the url: http://findgyms.co.uk/forums/ to the ‘Forums’ button in my header.
I hope this answers what you were asking?
In regards to the explanation in the linked item 8.. Well, that was a learning curve! I didn’t even know how to access the WordPress database but now I do!
If I’ve understand it correctly, this header issue is possible as the ‘topics’ pages in the forum posts have the correct header styling but the ‘index’ does not – from the description this says it could be due to the index page using the ‘about’ page style instead of the topics using the ‘posts’ style.
After looking in the database I think that the forum index page is using the correct ‘Astra’ theme, but not showing the correct css for my header that all my other pages are (even the ‘About’ page).
So I don’t think I would need to copy and rename the page.php file to bbpress.php (unless I wanted bbpress theme to be different to the astra theme – I think I’ve got that correct, if not apologies!)
I really appreciate any further help with this as this is becoming quite confusing for my extremely novice brain 🙂
Thanks,
Tim
Perhaps you could use a plugin such as CSS Hero which will help you customize your look for your pages quite easily. Hope that helps.
Hi Chook,
Thanks for the suggestion, but to be honest I was hoping to find out what the issue is & how to fix it as it’s only one page on the site. I’m trying to stay away from purchasing plugins for the time being as I am very early on in making the website & like to learn how it all works.
I’ve looked into this a lot however & don’t think I have the skills to find out what is wrong.
I was hoping someone might be able to understand the issue & suggest a fix.
Does anyone have any other suggestions? Robin, could the placement of short code be causing an issue as you asked in your reply?
Many thanks in advance,
Tim
@timmy321
I’m a bit stumped as to why your theme is doing that, it would be worth just trying
So I don’t think I would need to copy and rename the page.php file to bbpress.php (unless I wanted bbpress theme to be different to the astra theme – I think I’ve got that correct, if not apologies!)
if it works, great, if not then take it out
Hi Robin,
That unfortunately has not had any effect.
Is my only option now to delete the astra theme and choose another one?
If so, would you know any theme that this bbpress will work on?
Many thanks,
Tim
given this is a paid theme, I’d raise the issue with Astra.
I also think astra using elementor, so this might also be relevant
bbPress
Hi Robin,
I’m using the free version of Astra and Elementor.
However, I’ve spent far too long trying to figure this out so I purchased CSS HERO like Chook suggested and I must admit I’m so happy I did!
I imagine somehow it finds the root of all css on the site then somehow by putting in new css it overrides the current css (which is odd as when putting custom css into the wordpress customizer – additional css literally nothing will change on the site).
Anyway.. it works!
Thank you both,
Tim
great – glad you are fixed