• Resolved Doug McKown

    (@dougmckown)


    I hide titles for these post types:

    /* Hide Titles */
    .format-aside .entry-title,
    .format-image .entry-title,
    .format-link .entry-title,
    .format-quote .entry-title,
    .format-status .entry-title,
    .category-list {
    	visibility: hidden;
    }

    However, that means that there is still an empty spot within the parent block where the title would have appeared. How do I make it such that the titles are hidden and there is not a space where they were?

    Screenshot

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Shaped Pixels

    (@shaped-pixels)

    ah… instead of doing visibility: hidden;

    do… display: none;

    Visibility hidden will keep everything there including the space that the element needs, but display none will completely collapse the space while hiding it from view.

    Thread Starter Doug McKown

    (@dougmckown)

    Of course! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Hiding titles for certain post types’ is closed to new replies.