Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <section class="divtop">
- <div class="welcome" style="background-image: url(<?php the_field('section1_background'); ?>)">
- <div class="navbar-gradient fixed-top">
- <nav class="navbar navbar-expand-lg navbar-light">
- <div class="container">
- <?php
- $custom_logo_id = get_theme_mod('custom_logo');
- $image = wp_get_attachment_image_src($custom_logo_id, 'full');
- ?>
- <a class="navbar-brand" href="<?php echo esc_url(home_url('/')); ?>">
- <img src="<?= $image[0]; ?>" class="img-fluid" alt="">
- </a>
- <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
- <span class="navbar-toggler-icon"></span>
- </button>
- <!-- The WordPress Primary Menu -->
- <?php wp_nav_menu(
- array(
- 'theme_location' => 'primary',
- 'menu_class' => 'navbar-nav ml-auto w-100 justify-content-end',
- 'container_class' => 'collapse navbar-collapse',
- 'container_id' => 'navbarNav',
- )
- ); ?>
- </div>
- </nav>
- </div>
- </div>
- </section>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement