• Resolved jahgraphics

    (@jahgraphics)


    I’m trying to remove the page title on my portfolio page (don’t want it to actually say “portfolio” at the top), but I am not having any luck. I’ve tried all kinds of CSS including:

    .page-header {
    display: none;
    }

    but nothing changes on any of my pages – they all look the same no matter what CSS I add or what code I change. Is there any way to remove the page title?

    If it helps, my site is jahgraphics.com/ and I’m using the Virtue Theme (Free version). Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • First of all there are 2 (double) child theme stylesheet in the <head>, I guess this is from the enqueue script/style function in child theme. This theme, the main parent theme, already enqueue child theme stylesheet if child theme is in use, so there is no need to enqueue it again in child theme function.

    Go to that page and change the page title from “Portfolio” to something else that’s useful to site SEO, and then use this in Child theme stylesheet

    /** hide front page title: Virtue theme v 2.4.9 **/
    
    .home.page .page-header {
    	border: 0;
    	clip: rect(0 0 0 0);
    	width: 1px; height: 1px;
    	margin: -1px; padding: 0;
    	overflow: hidden;
    	position: absolute;
    }
    
    .home.page .contentclass {
    	padding-top: 30px;
    }

    Don’t forget to clear browser cache after CSS modifications.

    Thread Starter jahgraphics

    (@jahgraphics)

    That worked – thanks so much, paulwpxp!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Page Title from Specific Page – Virtue Theme’ is closed to new replies.