• Resolved almalaci

    (@almalaci)


    I’m trying to hide page titles and breadcrumbs from all my Colorway pages using custom.css. Could anyone help?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Theme Author inkthemescom

    (@inkthemescom)

    Hi ,

    Put the following code into custom css. This may resolve the problem.

    #crumbs, .sl h1{
    display:none;
    }
    .content-info{
    border:none;
    }
    Thread Starter almalaci

    (@almalaci)

    Thanks for the quick reply! Breadcrumbs work but content-info doesn’t. It just takes a border off.

    Theme Author inkthemescom

    (@inkthemescom)

    Hi almalaci,

    Use this code, instead of previous

    .content-info{
       display:none;
    }

    Thread Starter almalaci

    (@almalaci)

    Thanks again,
    I understand now how border:none and display:none work.
    While I want to remove the page titles, I need to keep my Home Page Intro at the same time so I think I’ll just create custom template pages in my child theme with <?php the_title(); ?> unquoted in them unless there are yet other custom css options.

    Theme Author inkthemescom

    (@inkthemescom)

    Hi almalaci,
    You just have to do some customization.
    Find functions.php file in theme root folder and put the following code below this lines

    /* --------------------------------------------------------------------- */
    /* Styles Enqueue */
    /* --------------------------------------------------------------------- */
    function colorway_custom_css() {
        if (!is_front_page() && !is_home()) {
            ?>
            <style type="text/css">
                #crumbs, .sl h1, .content-info{
                    display:none;
                }
            </style>
            <?php
    
        }
    }
    
    add_action('wp_head', 'colorway_custom_css');

    This may resolve your problem.

    Thread Starter almalaci

    (@almalaci)

    Yes, it worked!
    Thanks very much guys for providing such excellent support and such a great theme!

    Theme Author inkthemescom

    (@inkthemescom)

    Thanks for using our theme.

    OK, I’m new at all of this. But I want to turn off breadcrumbs and page titles while still keeping the page title name in “PAGES”. So, where do I find “custom.css” or can it be entered in THEMES, OPTIONS, STYLING OPTIONS ?

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Hide breadcrumbs’ is closed to new replies.