• hello, i have a little query.
    is it possible to override the components.php file in the child theme?

    is located in:

    ? astra
    ? template-parts
    ? header
    ? builder

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ashop1

    (@ashop1)

    and if possible, I would appreciate if you could provide me with the hooks of this container:

    .site-header-above-section-right-center.site-header-section.ast-flex.ast-grid-right-center-section

    Why can’t I find it in that components.php file, or can you tell me where to locate it please? Thank you

    So, no one shares any thoughts here.

    @ashop1, you can create the below folder structure in a child theme

    astra-child
      |
      '-> template-parts
            |
            '-> header
                 |
                 '-> builder
                      |
                      '-> components.php

    The components.php file in the child theme will completely override the components.php file of the parent theme.

    I hope it will help.

    Kind regards,
    Herman ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘override the components.php file’ is closed to new replies.