Skip to content

Instantly share code, notes, and snippets.

@SpencerCooley
Created August 26, 2012 03:36
Show Gist options
  • Save SpencerCooley/3473638 to your computer and use it in GitHub Desktop.
Save SpencerCooley/3473638 to your computer and use it in GitHub Desktop.
changes to custom-css.php
/* the_padding_change padding changes on navigation menu */
#menu_wrapper .nav ul li a, #menu_wrapper div .nav li a {padding-right:<?php echo get_option('padding_menu_full_width'); ?>px; padding-left:<?php echo get_option('padding_menu_full_width'); ?>px; color: <?php echo $pp_menu_link_color; ?>; }
<?php
}
?>
/* all of the css for the phone number in the header*/
#phone_number_wrap{
float:right;
margin-top:-25px;
padding:0px;
}
#phone_number_wrap p{
margin:0px;
}
#call_us{
font-size:20px;
font-weight:bold;
color:#ed1c24;
}
#phone_number_header{
font-size:20px;
color:#000;
font-weight:bold;
}
@media only screen and (max-width: 960px) {
#menu_wrapper .nav ul li a, #menu_wrapper div .nav li a {padding-right:<?php echo get_option('padding_menu_second_width'); ?>px; padding-left:<?php echo get_option('padding_menu_second_width'); ?>px; color: <?php echo $pp_menu_link_color; ?>; }
#phone_number_wrap{
float:none;
margin:0 auto;
width:225px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment