• Hi everyone,

    I’m using the “arcade basic” theme for my website https://www.theabarbrighton.com. The header imagae on the first page is 531px which is what Iwant, but when you move on to the other pages, the header image shrinks to 300px.

    I’m pretty sure the the div class=”title-card” which I’ve tried to editin the css but it hasnt worked so far. Hopefully this makes sense, I’d be really grateful for the help! ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • Looks like that has been hardcoded into the template.

    This is what is in the code on the pages I checked:

    <div class="title-card" style="height: 300px;">

    So perhaps try removing that, I assume from your page.php template.

    Remember to use a Child theme rather than edit the original template files.

    https://codex.www.ads-software.com/Child_Themes

    Thread Starter stevem1991

    (@stevem1991)

    Brilliant, thank you, that worked. There’s one problem though…I can activate the new child theme and edit it as normal, however when I exit my browser go back to theabarbrighton.com/wp-admin the page is blank..? Is there a template file that you need to include in the child directory to access the wp login page?

    Ahah, good news. Though mmm that shouldn’t be happening. Did you include the functions.php file in your child theme? Can you copy it here for me wrapping it in a code thingy?

    Thread Starter stevem1991

    (@stevem1991)

    Sorry for the late reply, here’s the functions.php

    <?php
    /**
    * Enqueues child theme stylesheet, loading first the parent theme stylesheet.
    */
    function themify_custom_enqueue_child_theme_styles() {
    wp_enqueue_style( ‘parent-theme-css’, get_template_directory_uri() . ‘/style.css’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘themify_custom_enqueue_child_theme_styles’ );

    and here’s the style.css:

    Theme Name: Arcade Basic Child

    Description: Child theme for The A Bar

    Author: Alex Matthews

    Template: arcade-basic

    */

    Can I ask where you got that code for the functions.php file? Was it packaged with the original theme or did you get it from a forum etc?

    Thread Starter stevem1991

    (@stevem1991)

    I’ve managed to fix this problem. Ijust started from scratch, rewroteall the files and it’s now working, i must have missed a small detail somewhere.

    Thread Starter stevem1991

    (@stevem1991)

    If you are free to solve another problem I wouldbe really grateful…

    I managed to make the headers bigger for each page, but as you should see, there is a wide blank space under the header of my index page that I cantwork out howto get rid of, would you have any suggestions?

    Hi Steve, Did you manage to this sorted by the looks of it?

    Cheers
    Colin

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘How to change the height of my "Arcade Basic" header images’ is closed to new replies.