I solved the problem of padding/margin on h1 (& h2, h3 etc.) headers in TinyMCE just with:
h1 {
margin-top: 0; padding-top: 0;
}
This isn’t quite a full solution though because the TagDiv/TinyMCE content on a Pagebuilder page gets lost when you skip forward to the next page number on the ‘latest articles’ section. I’d love it if it didn’t do that!
-
This reply was modified 8 years by
ANM.
I have paid Disqus now and disabled ads (which I was seeing between comments). It’s just that someone claimed to see them on our home page, which doesn’t have comments, just a static page. I’ll wait and see if there are any more reports.
Thanks!
Whoops, didn’t see that. Thank you so much!
I do have free Disqus on the site, but only on posts (and the occasional ad does appear between comments). This wouldn’t affect pages (without Disqus on) though would it?
This is brilliant – many thanks!
Sorry for one more question – I’ve tried setting the mobile main menu background like this:
@media (max-width: 767px) {
.td-header-main-menu {
background-color: #fff !important;
}
}
but it’s being overriden with a !important in the theme code here:
@media (max-width: 767px)
style.css?ver=4.9.4:1593
.td-header-wrap .td-header-menu-wrap-full, .td-header-wrap .td-header-menu-wrap, .td-header-wrap .td-header-main-menu {
background-color: #222 !important;
height: 54px !important;
}
Is it possible to override that override without hacking theme files? I’m using a child theme if that helps.
Thanks!
Don’t worry – I can see using ads has implications and isn’t really a good idea (though I guess a donation box is an ad of sorts).
I’ve got it working inserting the code you suggested in loop-single.php.
Thanks. I’ll send you the link to a test site:
Basic auth user/pass are both wibble
Ideally I’d like to use the mobile logo (and maybe make the top menu white instead of black) but it’s just a bit on the small side by default, so using the ‘desktop’ logo was the alternative.
Many thanks – that’s a good method. If I were to use an Article bottom ad instead, would this have any negative implications? I’d make sure I made the ad non-AdSense. I don’t fuly understand ads and their implications…
Well good lord, that’s looks like just what I need! Thanks!
Ah, oh hang on – I want to add this globally to each post page without the page author having to add it manually. Is this possible?
Thanks!
-
This reply was modified 8 years by
ANM.
Thanks! For some reason if I put it in the theme’s Custom CSS area or the child theme’s style.css it doesn’t work, but edit editor-style.css directly or create a child theme version with just the changes and all good.
Thanks! I’m probably doing something wrong here but it looks like a case of merely setting (in CSS) ‘.mce-content-body blockquote p’ font-size to whatever I want (including all the media widths). I’ve had this issue with other CSS in the past – the change doesn’t seem to take hold for some reason. It doesn’t appear to be caching because I can view the underlying css file in a web browser and it’s what I intend it to be. I’ve tried ‘!important’ with no luck. Am I missing something?
Cheers!