New Landing How can we help? Themeforest Theme Support Neighborhood How to change post title background?

Viewing 6 posts - 1 through 6 (of 6 total)
  • #22734
    zenzero
    Member
    Post count: 49

    Hej

    How can i change the background (asset) of the page title with whits this URL:

    domain.tld/?post_type=portfolio

    I cannot find a physical page where i can change this like on other pages in:
    Page Meta > Page Options
    -Show page title (Yes)
    – Page Title (blabla)
    – Page Title Background (Alt1, Alt2 etc.)

    Screenshot:
    Screen

    Thank you very mutch for your reply!

    #22941
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey, you can use this custom css

    .post-type-archive-portfolio .page-heading.span12.clearfix.alt-bg.none {
    background: black;
    }

    Cheers ๐Ÿ™‚

    #22951
    zenzero
    Member
    Post count: 49
    This reply has been marked as private.
    #23350
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hey,

    can you please go to archive.php and modify

    			<h1><?php wp_title(''); ?></h1>
    

    to

    			<h1><?php the_title(''); ?></h1>
    

    ?

    If you’re unsure how to do it, please let me know your wp-admin login details and I’ll check it out!

    #23453
    zenzero
    Member
    Post count: 49

    Hej Mel,

    thank you for your reply! You was on the right way ๐Ÿ˜‰

    <h1><?php the_title(''); ?></h1>

    in archive.php (in theme-child) did not work, showed some category title. Solved with this function in row 87:

    <h1><?php post_type_archive_title(''); ?></h1>

    ๐Ÿ™‚ Skรฅl!

    #23863
    Melanie – SUPPORT
    Member
    Post count: 11032

    Oh fantastic! ๐Ÿ™‚ Skal ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register