1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to change size and display of header image in pages (twenty-fourteen)

Discussion in 'WordPress' started by MartySmarty, Mar 20, 2017.

  1. #1
    I have minimalized(deleted much of) the content of my PHP files and now have the look and display I want for my Home Page, but now my other pages that are linked to the Home Page are displaying an over-sized header header image and the image is so big it takes up a whole webpage and I don't seem to know how to create the coding fix for this problem.

    I am only working in wamp localhost so I cannot link a view of my problem. I don't want to download and use a plugin to solve this problem.

    I have many years experience in programming in C-language and VisBasic, but I am new to WAMP and willing to learn what it takes to make my webpage work, but thank you for any advice you might offer!

    How do I modify header.php or functions.php etc files to fix this problem.?

    I want to control whether the header image is displayed and what size it will be in linked pages.

    Below is all the contents on my header.php file.

    <html <?php language_attributes(); ?>>
    <meta charset="?php blog_info('charset'); ?>">
    <meta name="viewport" content="width=device-width">
    <title><?php bloginfo('name'); ?></title>
    <?php wp_head(); ?>
    <body <?php body_class(); ?>>

    <!-- site-header -->
    <header class="site-header">
    <a href="http://localhost/wordpress/?page_id=7" target="'home-page'";>
    <img src="http://localhost/wordpress/wp-content/uploads/Cropped-Front.tekst_-original.gif"; width="100%";";>
    MartySmarty, Mar 20, 2017 IP
  2. themes4all

    themes4all Well-Known Member

    Likes Received:
    Best Answers:
    Trophy Points:
    Hello there,

    In order to choose the size of the header, you have to open the Style.css file and look for the class : site-header

    Choose the Width and height that suit your needs!

    That's all
    themes4all, Apr 5, 2017 IP