Tagged: x
-
AuthorPosts
-
October 5, 2016 at 1:35 pm #1203831
codexworksParticipantAwesome. Thanks the border-top works and making the submenu transparent works too.
1. What about making the fonts responsive for the h1-h6 and the body?
2. And making the hamburger Icon like the one in the image.Thank you very much!
October 5, 2016 at 4:52 pm #1204096
RadModeratorHi there,
1. How do you like it to be responsive? You can try this http://demo.theme.co/integrity-1/shortcodes/responsive-text/.
Then you can add this code to your child theme’s functions.php with your responsive text shortcode and settings,
add_action('wp_footer', 'responsive_headlines', -999999 ); function responsive_headlines () { echo do_shortcode(' [responsive_text selector="h1" compression="1.5" min_size="36px" max_size="78px"] [responsive_text selector="h2" compression="1.5" min_size="36px" max_size="78px"] [responsive_text selector="h3" compression="1.5" min_size="36px" max_size="78px"] [responsive_text selector="h4" compression="1.5" min_size="36px" max_size="78px"] [responsive_text selector="h5" compression="1.5" min_size="36px" max_size="78px"] [responsive_text selector="h6" compression="1.5" min_size="36px" max_size="78px"] '); }Please note that texts aren’t responsive by default. And this shouldn’t be done since it will affect all headlines that shouldn’t be affected. What’s the current issue of your headlines? It may be doable just by @media query.
2. Not possible, your sample is image and the current hamburger menu is just font icon.
Thanks!
October 5, 2016 at 9:22 pm #1204496
codexworksParticipantThanks. I got your point about the responsiveness. I am very satisfied with the support. Big Thanks guys.
October 5, 2016 at 10:44 pm #1204565
Rue NelModeratorYou’re welcome!
We’re glad we were able to help you out.October 18, 2016 at 2:13 pm #1221240
codexworksParticipantThis reply has been marked as private.October 18, 2016 at 6:06 pm #1221442
JadeModeratorHi there,
The site has an active under construction page active. Kindly provide us with the admin details so that we can access the site.
Thank you.
October 18, 2016 at 6:51 pm #1221474
codexworksParticipantThis reply has been marked as private.October 19, 2016 at 2:16 am #1221925
ChristopherModeratorHi there,
Please change logo and navigation layout to ‘stacked’ under Customize -> Header.
Copy _navbar.php from framework/views/global and put it in the same path inside child theme, replace existing code with following :
<?php // ============================================================================= // VIEWS/GLOBAL/_NAVBAR.PHP // ----------------------------------------------------------------------------- // Outputs the navbar. // ============================================================================= $navbar_position = x_get_navbar_positioning(); $logo_nav_layout = x_get_logo_navigation_layout(); $is_one_page_nav = x_is_one_page_navigation(); ?> <?php if ( ( $navbar_position == 'static-top' || $navbar_position == 'fixed-top' || $is_one_page_nav ) && $logo_nav_layout == 'stacked' ) : ?> <div class="x-logobar"> <div class="x-logobar-inner"> <div class="x-container max width"> <?php x_social_global(); ?> <?php x_get_view( 'global', '_brand' ); ?> </div> </div> </div> <div class="x-navbar-wrap"> <div class="<?php x_navbar_class(); ?>"> <div class="x-navbar-inner"> <div class="x-container max width"> <?php x_get_view( 'global', '_nav', 'primary' ); ?> </div> </div> </div> </div> <?php else : ?> <div class="x-navbar-wrap"> <div class="<?php x_navbar_class(); ?>"> <div class="x-navbar-inner"> <div class="x-container max width"> <?php x_get_view( 'global', '_brand' ); ?> <?php x_get_view( 'global', '_nav', 'primary' ); ?> </div> </div> </div> </div> <?php endif; ?>Hope it helps.
October 19, 2016 at 2:37 pm #1222763
codexworksParticipantThis reply has been marked as private.October 19, 2016 at 4:00 pm #1222855
JadeModeratorHI there,
Please add this code:
.x-logobar-inner .x-social-global a:hover i { color: #e04b30; }Feel free to change the color value to your preference.
Hope this helps.
October 20, 2016 at 9:26 am #1223935
codexworksParticipantThis reply has been marked as private.October 20, 2016 at 10:29 am #1224029
codexworksParticipantOkay it works now! I used this code.
<?php
// =============================================================================
// VIEWS/GLOBAL/_NAVBAR.PHP
// —————————————————————————–
// Outputs the navbar.
// =============================================================================$navbar_position = x_get_navbar_positioning();
$logo_nav_layout = x_get_logo_navigation_layout();
$is_one_page_nav = x_is_one_page_navigation();?>
<?php if ( ( $navbar_position == ‘static-top’ || $navbar_position == ‘fixed-top’ || $is_one_page_nav ) && $logo_nav_layout == ‘stacked’ ) : ?>
<div class=”x-logobar”>
<div class=”x-logobar-inner”>
<div class=”x-container max width”>
<?php x_get_view( ‘global’, ‘_brand’ ); ?>
</div>
</div>
</div><div class=”x-navbar-wrap”>
<div class=”<?php x_navbar_class(); ?>”>
<div class=”x-navbar-inner”>
<div class=”x-container max width”>
<?php x_get_view( ‘global’, ‘_nav’, ‘primary’ ); ?>
<div class=”custom-social”><?php x_social_global(); ?></div>
</div>
</div>
</div>
</div><?php else : ?>
<div class=”x-navbar-wrap”>
<div class=”<?php x_navbar_class(); ?>”>
<div class=”x-navbar-inner”>
<div class=”x-container max width”>
<?php x_get_view( ‘global’, ‘_brand’ ); ?>
<?php x_get_view( ‘global’, ‘_nav’, ‘primary’ ); ?>
<div class=”custom-social”><?php x_social_global(); ?></div>
</div>
</div>
</div>
</div><?php endif; ?>
One more thing how can I change the Social Icon to round and change background and icon color when hovered?
Thanks for the Help!
October 20, 2016 at 12:19 pm #1224189
JadeModeratorHi there,
Please use add this code:
.custom-social .x-social-global a { background-color: #ccc; height: 40px; width: 40px; border-radius: 50%; } .custom-social .x-social-global a i { position: relative; top: 12px; }Please change the background color value on the code to your preference.
Hope this helps.
October 20, 2016 at 1:52 pm #1224300
codexworksParticipantThanks a lot!
October 20, 2016 at 2:38 pm #1224349
NicoModeratorYou’re most welcome.
Feel free to ask us again.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1193473 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
