- This topic has 29 replies, 2 voices, and was last updated 6 years, 3 months ago by Leo.
-
AuthorPosts
-
January 16, 2018 at 5:24 pm #472827LeoStaffCustomer Support
Not sure what you mean? If you need three different icons then you will need to add them all in?
You can add the rest after the
<i class=”fa fa-car” aria-hidden=”true”></i>
line.January 17, 2018 at 2:54 pm #473636HowardLeo
Does this look ok to enter into code snippets (dont want to break anything) twitter, youtube google plusadd_action( ‘generate_inside_mobile_header’,’tu_mobile_header_html’ );
function tu_mobile_header_html() { ?><i class=”fa fa-car” aria-hidden=”true”></i>
<i class=”fa fa-twitter-square” aria-hidden=”true”></i> <i class=”fa fa-youtube-square” aria-hidden=”true”></i> <i class=”fa fa-google-plus-square” aria-hidden=”true”></i><?php }
Thanks Howard
January 17, 2018 at 2:56 pm #473640HowardActually I left out div THIS IS WHAT I WILL PUT IN??
add_action( ‘generate_inside_mobile_header’,’tu_mobile_header_html’ );
function tu_mobile_header_html() { ?><i class=”fa fa-car” aria-hidden=”true”></i>
<i class=”fa fa-twitter-square” aria-hidden=”true”></i> <i class=”fa fa-youtube-square” aria-hidden=”true”></i> <i class=”fa fa-google-plus-square” aria-hidden=”true”></i><?php }
January 17, 2018 at 5:49 pm #473711LeoStaffCustomer SupportI still don’t see the div, it should be something like this:
add_action( 'generate_inside_mobile_header','tu_mobile_header_html' ); function tu_mobile_header_html() { ?> <div class="mobile-header-content"> <i class="fa fa-car" aria-hidden="true"></i> <i class="fa fa-car" aria-hidden="true"></i> <i class="fa fa-car" aria-hidden="true"></i> <i class="fa fa-car" aria-hidden="true"></i> </div> <?php }
You should only have to replace the repetitive icons to what you want.
January 19, 2018 at 10:08 am #475092HowardHi Leo
Things not working out.
Added snippets:
add_action( ‘generate_inside_mobile_header’,’tu_mobile_header_html’ );
function tu_mobile_header_html() { ?>
<i class=”fa fa-twitter-square” aria-hidden=”true”></i>
<i class=”fa fa-youtube-square” aria-hidden=”true”></i>
<i class=”fa fa-google-plus-square” aria-hidden=”true”></i>
<?php }With mobile header enabled in header under mobile header
Icons hidden in top right black of menu
———————————————-
————navigation menu————————————Menu
Menu
With mobile menu disabled in header under header
———————————————
_________________Navigation menuMenu
What I want:
See DESKTOP view:
https://www.rawassertions.com
Social icons centered in secondary navigation under primary navigationHoward
January 19, 2018 at 10:16 am #475100HowardSnippets were properly put in as below previous above did not copy to message properly
add_action( 'generate_inside_mobile_header','tu_mobile_header_html' ); function tu_mobile_header_html() { ?> <div class="mobile-header-content"> <i class="fa fa-car" aria-hidden="true"></i> <i class="fa fa-car" aria-hidden="true"></i> <i class="fa fa-car" aria-hidden="true"></i> <i class="fa fa-car" aria-hidden="true"></i> </div> <?php }
January 19, 2018 at 10:19 am #475104HowardDiv .. not showing on I phone BUT is THERE as your previous email above.
HowardJanuary 19, 2018 at 7:21 pm #475333LeoStaffCustomer SupportAhh you have to highlight them and click “code” in the editor.
Can you try activating the mobile header? https://docs.generatepress.com/article/mobile-header/
It should give you the layout you currently have.
January 19, 2018 at 7:48 pm #475345LeoStaffCustomer SupportIf you changed your mind and decided to use the secondary navigation, then the solution would be different.
To disable secondary navigation toggle, this should help: https://docs.generatepress.com/article/disable-secondary-navigation-mobile-menu/
January 20, 2018 at 4:39 pm #476014HowardIt worked!!!! Hallelujah and looks good. Thanks for the help.
One question:
If I do some spacing and /or padding adjusting on desktop for sec nav and content looks, will it also change on mobile device?
Thanks so much
Howard👌January 20, 2018 at 6:54 pm #476038LeoStaffCustomer SupportAdjusting spacing using CSS?
If so yes but you can use media query:
https://docs.generatepress.com/article/responsive-display/#responsive-breakpointsJanuary 20, 2018 at 8:10 pm #476056HowardThanks will check it out
Thanks againJanuary 21, 2018 at 5:23 am #476234LeoStaffCustomer SupportNo problem 🙂
January 22, 2018 at 9:31 am #477253HowardHi Leo
Is it possible to put a line ( with color option) under SECONDARY NAVIGATION on desktop and mobile for all pages?
Eg.
Secondary navigation
——————————————————————-
Thanks
HowardJanuary 22, 2018 at 2:19 pm #477481LeoStaffCustomer SupportThis CSS should do:
.secondary-navigation { border-bottom: 2px solid #000000; }
If you only want it on desktop:
@media (min-width:769px) { .secondary-navigation { border-bottom: 2px solid #000000; } }
-
AuthorPosts
- You must be logged in to reply to this topic.