File: //home/londonsportsforum.org.uk/public_html/wp-content/themes/wallstreet/custom_style.php
<style>
.custom-logo{width: <?php echo intval(get_theme_mod('wallstreet_logo_length',154));?>px; height: auto;}
</style>
<?php
$wallstreet_current_options = wp_parse_args( get_option( 'wallstreet_pro_options', array() ), wallstreet_theme_data_setup() );
$theme_name = wp_get_theme();
if($theme_name == 'Wallstreet' || $theme_name == 'Wallstreet Child' || $theme_name == 'Wallstreet child' ) {
if(get_theme_mod('logo_layout','logo-title-tagline')=='logo-title-tagline' ) { ?>
<style>
.logo-link-url { display: inline-block;padding:15px 15px 12px 15px;}
.navbar-brand.custom-logo{margin-right: 0px;}
@media only screen and (min-width: 1100px){
.navbar-header{
display: flex;
align-items: center;
}
}
</style>
<?php }
if(get_theme_mod('logo_layout','logo-title-tagline')=='title-tagline-logo' ) { ?>
<style>
.navbar-brand.custom-logo{ display: inline-block; }
.logo-link-url { display: inline-block;padding:15px 15px 12px 0px; float: left;}
.navbar > .container .navbar-brand {
margin-right: 0px;
}
@media only screen and (min-width: 1100px){
.navbar-header{
display: flex;
align-items: center;
}
}
@media only screen and (min-width: 200px) and (max-width: 480px){
.logo-link-url{
float: none;
}
}
</style>
<?php }
if(get_theme_mod('logo_layout','logo-title-tagline')=='top-logo-title-tagline' ) { ?>
<style>
.navbar .logo-link-url {display: block;clear: both;float: left;padding:4px 0px 8px 15px;}
.navbar .navbar-brand { display: inline-block;}
@media only screen and (max-width: 480px) and (min-width: 200px){
.navbar .logo-link-url { float: none; text-align: center; }
}
</style>
<?php }
if(get_theme_mod('logo_layout','logo-title-tagline')=='top-title-tagline-logo' ) {
if( (get_theme_mod('header_text')==true) && ( ( ($wallstreet_current_options['display_site_title'] ==true) || ($wallstreet_current_options['display_site_tagline'] == true) )) ){ ?>
<style>
@media only screen and (min-width: 1023px){
.navbar-brand.custom-logo {padding: 0 15px 25px 0;}
}
</style>
<?php } ?>
<style>
@media only screen and (min-width: 1023px){
.navbar .logo-link-url {
padding: 11px 0px;
}
}
</style>
<?php } }
?>