[Resolved] how to hook *.php file?

Home Forums Support how to hook *.php file?

Viewing 8 posts - 16 through 23 (of 23 total)
  • Author
    Posts
  • #918339
    d

    8. You should be able to change it in Customize > Colors > Header. couldn’t work.
    I want to change the site-name-coler and site-name-background-color!

    I use the mellow theme
    I checked “Use Navigation as Header” and disable the hero navi color.

    9. I want to change the footer’s widget font size/Font Weight!

    10. I want to set the siderbar widget title background!

    #918968
    Tom
    Lead Developer
    Lead Developer

    8. Ah, you’re using a Header Element, so you need to adjust the site title color in there: https://docs.generatepress.com/article/header-element-overview/#site-header

    You need to use CSS to change the background color:

    .header-wrap .main-title a {
        background: rgba(0,0,0,0.2);
        padding: 0 20px;
    }

    9. Give this a shot:

    .footer-widgets .widget {
        font-size: 20px;
        font-weight: bold;
    }

    10. Try this:

    .sidebar .widget-title {
        background: #eee;
        padding: 5px 10px;
    }
    #919254
    d

    Thanks!Tom
    10.about the siderbar title color,can I make style like this(sea picture):
    https://prnt.sc/nxefs3

    #919343
    David
    Staff
    Customer Support

    Hi there,

    10. Requires some extra HTML that isn’t supported in Widget titles. So to do this first you need to add this filter function:

    function custom_widget_title($title) {
        $title = '<span class="title-wrap">' . $title . '</span>';
        return $title;
    }
    add_filter('widget_title', 'custom_widget_title');

    Then this CSS:

    .sidebar .widget-title .title-wrap {
        background: red;
        color: #ffffff;
        padding: 5px 10px;
    }
    
    .sidebar .widget-title {
        border-bottom: 3px solid red;
    }
    #921147
    d

    Thanks!David
    some support about:
    11. How to make the mobile menu icon moving to right head?
    I use the mellow theme.I don’t want to check the use navigate as header,because I want to choose the site-name-color/background-color
    https://prntscr.com/ny6efw

    12. How to adjust the site-name(to be a line with the navigate)
    I set the padding but the site and the navigate moving together
    https://prntscr.com/ny6efv

    13.and,could you recommend a plugin(to show recent-comment-contect in the widget) .Thanks.
    https://prnt.sc/nyanl9

    #921334
    David
    Staff
    Customer Support

    11. You can use the Navigation as header, there is an option to display the Site Title instead of a logo, and the colors can then be set in the Customizer Navigation.

    12. For Mobile you can use the Mobile Header option, again you can have it display the Site Title.

    13. WordPress does come with a Recent Comments widget built in. If not try this one, its the most up to date out of the two main ones:

    https://en-gb.wordpress.org/plugins/better-recent-comments/

    Once we close these few requirements, would you mind starting a new topic for any new requests? It would make it easier for all of the support team to work on, as well as you will be able to reference your own topics easier as the topic title will be more relevant 🙂

    #923018
    d

    Thanks!David.

    #923238
    David
    Staff
    Customer Support

    Glad we could be of help

Viewing 8 posts - 16 through 23 (of 23 total)
  • You must be logged in to reply to this topic.