Skip to content

Commit e4df5ca

Browse files
committed
Fix site logo on skin "Bootstrap Site Tabs"
1 parent 15fc63b commit e4df5ca

5 files changed

Lines changed: 17 additions & 12 deletions

File tree

conf/_application.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Release date (ISO)
2222
* @global string
2323
*/
24-
$app_date = '2020-08-03';
24+
$app_date = '2020-08-06';
2525

2626
/**
2727
* Is this b2evolution PRO?

skins/bootstrap_site_tabs_skin/_site_body_header.inc.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333

3434
<div id="evo_site_header" class="swhead_wrapper">
3535

36-
<?php if( $site_has_logo_file ) { ?>
37-
<div class="swhead_sitename<?php echo $site_title_class; ?>">
38-
<a href="<?php echo $baseurl; ?>"><?php echo $site_name_text; ?></a>
39-
</div>
40-
<?php } ?>
4136
<div class="swhead_menus">
4237
<div class="container-fluid level1">
4338

@@ -65,6 +60,12 @@
6560
// ----------------------------- END OF "Right Navigation" CONTAINER -----------------------------
6661
?>
6762

63+
<?php if( $site_has_logo_file ) { ?>
64+
<div class="pull-left swhead_sitename<?php echo $site_title_class; ?>">
65+
<a href="<?php echo $baseurl; ?>"><?php echo $site_name_text; ?></a>
66+
</div>
67+
<?php } ?>
68+
6869
<ul class="nav nav-tabs pull-left">
6970
<?php
7071
if( ! $site_has_logo_file )

skins/bootstrap_site_tabs_skin/style.css

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
#evo_site_header .swhead_sitename.swhead_logo {
1919
display: table-cell;
20-
background-color: #ddd;
20+
margin: -18px 0 0 -6px;
2121
}
2222
#evo_site_header .swhead_sitename.swhead_logo a {
2323
padding: 0;
@@ -36,10 +36,11 @@
3636
#evo_site_header .swhead_menus div.level1 nav .pull-right {
3737
margin-top: -10px;
3838
}
39-
#evo_site_header .swhead_menus div.level1 nav .pull-left li {
40-
margin-right: 2px;
39+
#evo_site_header .swhead_menus div.level1 nav .pull-right a {
40+
max-height: 40px;
4141
}
4242
#evo_site_header .swhead_menus div.level1 nav .pull-left li a {
43+
margin-right: 0;
4344
background-color: #eee;
4445
border-color: #ddd;
4546
border-bottom: 1px solid #ccc;

skins/bootstrap_site_tabs_skin/style.less

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
}
1818
&.swhead_logo {
1919
display: table-cell;
20-
background-color: #ddd;
20+
margin: -18px 0 0 -6px;
2121
a {
2222
padding: 0;
2323
}
@@ -33,10 +33,13 @@
3333
div.level1 {
3434
nav .pull-right {
3535
margin-top: -10px;
36+
a {
37+
max-height: 40px;
38+
}
3639
}
3740
nav .pull-left li {
38-
margin-right: 2px;
3941
a {
42+
margin-right: 0;
4043
background-color: #eee;
4144
border-color: #ddd;
4245
border-bottom: 1px solid #ccc;

skins/bootstrap_site_tabs_skin/style.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)