Removing title of separate page for Sparkling theme

Hello,

I’m using Sparkling theme. I wanted to remove a title of my “portfolio” page because of using a slider plugin, I don’t like the title before the slider.

I searched the forum and found your solution for a “home” page & for all pages:

.page .page-header {
  display: none;
}

I tried to specify the first word by changing it to “portfolio” but it didn’t work, it still shows the page title. Unless of course I put in this code to remove ALL page titles, which I do not want.

thank you very much in advance.

That’s now how it works as you have to actually inspect what class/ID you want to target using CSS.

Please post your link to portfolio page and I will provide a code for you.

http://www.slavky.com/portfolio/

I’d like to remove title of this page. And probably of this other one as well, since I’ll have a similar case there very soon too :slight_smile:

http://www.slavky.com/art-portfolio/

when you send me the code, will I be able to change names of the pages afterwards? Will the titles be removed (hidden) even if I change names of those two pages?

Add this code to Appearance >> Theme Options >> Other >> Custom CSS

.page-id-10 .entry-header,
.page-id-212 .entry-header {
  display: none;
}

.page-id-10 .entry-content,
.page-id-212 .entry-content {
  margin-top: 0;
}

It will get rid of titles for both pages. However, title that you can see in your browser tab will remain in place and you can change it. However, these pages won’t show up in this page itself as title is hidden. If you want to get title back just remove this code and you are good to go.

Let me know if this is what you were looking for.

thank you very much :slight_smile: I think this is what I was looking for.

and btw, thank you for such beautiful theme with great support!

S.

Thank you for your feedback! I really appreciate it :slight_smile:

Hi Aigars,
I have the same issue with my home page (says “Home Page”).
My question is: How do you work out what the page id is in order to apply this code?

@pat99 This is very old topic and to help us keep support thread separates could you please create your own thread for your question here https://colorlibsupport.com/c/sparkling/ instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.