Hide Post and Page Titles completely?

Posted in: Newspaper
Post count: 35

Is there any way to hide the titles?

I can hide them using CSS but then that’d leave a space; and adjusting that space might break the theme structure?

Post count: 20685

Hi,

Page titles are displayed if you have selected the required page template, in the page attributes screen
https://www.screencast.com/t/XRFVOZpIF8VL
More information about the page templates here
https://forum.tagdiv.com/page-templates-2/
Please correct me if I misunderstand, and maybe provide mire details about what exactly you are trying to do, or some useful screenshots if possible.

Thanks

Post count: 35

Hi, I’m referring to post titles as well.

If I’m not able to get rid of them, then how’d I change the font size for mobile?

I have already changed their size and they look okay on desktop but on Mobile they’re much too big.

Post count: 35

Okay, forgive me. Just saw another thread concerning CSS and Mobile.

So I’ve entered the following but no change.


@media
(max-width: 767px){
.td-post-title h1{
font-size: 12px !important;
}
}

Regardless of that, I’d still like to know if it’s possible to hide the post title.

Thanks

Post count: 20685

Hi,

From what I can understand you would like to remove the post title, from the post page. There is no theme setting that you can use for this, but you can try a code like this one
https://www.screencast.com/t/ll0uk4vj
It should remove the post title from the post page, on all the post templates. Enter the code in Theme panel->Advanced CSS in the phones section. It will apply only on smaller devices if that is what you need

.single .td-post-title h1{
display:none;
}

If you have caching installed, clear the cache after entering the code.

Thanks

Post count: 85

So, two follow-up questions:

1. I’m using the default page template, but NOT the tagdiv composer. I am getting a page title. I assume that is because I am not using the tagdiv composer?

2. Is there a place on the page, or a way, to add CSS to just this page? I’ve seen that in other themes, but cannot find it for this one.

Thanks!

Post count: 40

Is there any way to remove the author name or id from all posts whether on homepage or individual post pages?

Thanks

Post count: 20685

Hi,


@BruceInLouisville

1. If the page contains no page builder elements (blocks, grids etc) regardless of composer used, the page title will be displayed. The page title will appear if the page contains content added through the default MCE editor.
A solution would be to enter this code in Theme panel->Custom CSS when using default page template

.page-template-default .td-page-title{
display:none;
}

2. You could target specific pages with the actual CSS code. So for example you would like to remove the page title on one specific page, with the code mentioned above
https://www.screencast.com/t/OCrsCnUuJ13s
https://www.screencast.com/t/187t2cwS5


@pildat

The author can be removed for pages in block settings
https://www.screencast.com/t/H70ufYfxy
And for posts in post settings
https://www.screencast.com/t/3D0eMOXyxqZ

Thanks

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.