xxlfm
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Remove view full calendar linkI could use custom css like .view-full { display: none; }.
Just wonder if there is visual setting for that and change the link url.
Forum: Fixing WordPress
In reply to: Customized top menu mobile display issueThanks a lot, Bcworkz. Will do:)
Forum: WordPress Mobile App
In reply to: Customized top menu mobile display issue/* Responsive CSS for smaller screens */ @media screen and (max-width: 767px) { div.top-right-class ul { float: none; margin: 0; text-align: center; /* Center the menu items */ } div.top-right-class li { padding: 10px; /* Add some padding to improve touch usability */ display: block; } }
Forum: WordPress Mobile App
In reply to: Customized top menu mobile display issueI created WordPress website and using the theme not support 2nd menu.
So I added the top right menu by using:
1. Code Snippets ? Add Snippet <?php function wpb_top_right_menu() { register_nav_menu('top-right-menu',__( 'Top Right Menu' )); } add_action( 'init', 'wpb_top_right_menu' );?> 2. Appearance ? Theme File Editor ? Header(typically) wp_nav_menu( array( 'theme_location'=>'top-right-menu', 'container_class'=>'top-right-class' ) );
It’s working in full size browser, but not within mobile and tablet which are reduced size. How can I fix that?
and here is the CSS for top right menu:
div.top-right-class ul { float:right; margin:20px 0px 20px 0px; list-style-type: none; list-style: none; list-style-image: none; text-align:right; display:inline-block; } div.top-right-class li { padding: 0px 20px 0px 0px; display: inline-block; } div.top-right-class a { color:blue; }
Thanks for help.
Viewing 4 replies - 1 through 4 (of 4 total)