See attached images on how this looks, article text is centered, dark and light versions as there were other requests for breadcrumb position...
Backup your files before starting this mod.
Dark Version ( MiddleMenu Position look alike )
STEP 1:
Find File: templatesgk_twn2layoutsblockslogo.php
Delete Lines : 54 to 58 which is
- Code: Select all
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php endif; ?>
STEP 2:
Find File: templatesgk_twn2layoutsdefault.php
Lines: 85 to 93 which is
- Code: Select all
<?php else: ?>
<?php if($this->modules('middlemenu')) : ?>
<div id="gkMiddleMenu" class="clear">
<jdoc:include type="modules" name="middlemenu" style="<?php echo $this->module_styles['middlemenu']; ?>" />
</div>
<?php endif; ?>
<?php endif;?>
Add below code after first: " <?php endif; ?>"
- Code: Select all
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter" class="clear">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php endif; ?>
So it looks like below
- Code: Select all
<?php else: ?>
<?php if($this->modules('middlemenu')) : ?>
<div id="gkMiddleMenu" class="clear">
<jdoc:include type="modules" name="middlemenu" style="<?php echo $this->module_styles['middlemenu']; ?>" />
</div>
<?php endif; ?>
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter" class="clear">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php endif; ?>
<?php endif;?>
STEP 3:
Find File: templatesgk_twn2cssgk.stuff.css
Lines: 11 to 19
Which is below
- Code: Select all
/*
* Highlighter GK4
*/
#gkHighlighter .gkHighlighterGK4 { overflow:hidden; position:relative; height:12px; line-height:10px; width: 100%; }
#gkHighlighter .gkHighlighterWrapper { float:left; height:21px; position:relative; overflow: hidden; }
#gkHighlighter .gkHighlighterWrapper .nowrap { width: 100000px; position: absolute; left: -99999em; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem { position: absolute; top:0; width:100%; left:0; font-size: 11px; line-height: 10px; color: #777; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem a { color: #777; text-shadow: 0 1px #fff }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem a:hover { color: #000; }
Change whole 11 to 19 with below code:
- Code: Select all
/*
* Highlighter GK4
*/
#gkHighlighter .gkHighlighterGK4 { overflow:hidden; position:relative; height:30px; line-height:30px; width: auto; padding-left:10px; padding-right: 10px; }
#gkHighlighter .gkHighlighterWrapper { float:left; height:21px; position:relative; overflow: hidden; }
#gkHighlighter .gkHighlighterWrapper .nowrap { width: 100000px; position: absolute; left: -99999em; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem { position: absolute; width:98%; color: #FFFFFF; font-size: 10px; line-height: 31px !important; text-transform: uppercase; text-align:center; font-family: Arial,Helvetica,sans-serif; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem a { color: #fff; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem a:hover { color: #fff; text-decoration: underline; }
STEP 4:
Find file: templatesgk_twn2csstemplate.css
Line: 101 which is below
- Code: Select all
/* top highlighter */
#gkHighlighter { position: absolute; left: 0; bottom: 8px; width: 100%; }
Replace with below:
- Code: Select all
/* top highlighter */
#gkHighlighter { background-attachment: scroll; background-clip: border-box; background-color: #3B3B3B; background-image: url("../images/dropline_bg.jpg"); background-origin: padding-box; background-position: left bottom; background-repeat: repeat-x; background-size: auto auto; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 0; border-top-right-radius: 0; height: 31px; }
For Light Version:
STEP 1: Same as step 1 in dark version...
STEP 2:
Find File: templatesgk_twn2layoutsdefault.php
Lines: 95 to 108 which is
- Code: Select all
<div id="gkBottomMenu" class="clear">
<?php if($this->modules('breadcrumb')) : ?>
<div id="gkBreadcrumb">
<jdoc:include type="modules" name="breadcrumb" style="<?php echo $this->module_styles['breadcrumb']; ?>" />
</div>
<?php endif; ?>
<?php if($this->modules('topmenu2')) : ?>
<div id="gkTopMenu2">
<jdoc:include type="modules" name="topmenu2" style="<?php echo $this->module_styles['topmenu2']; ?>" />
</div>
<?php endif; ?>
</div>
</div>
Add below between last </div>'s :
- Code: Select all
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter" class="clear">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php endif; ?>
So it looks like below:
- Code: Select all
<div id="gkBottomMenu" class="clear">
<?php if($this->modules('breadcrumb')) : ?>
<div id="gkBreadcrumb">
<jdoc:include type="modules" name="breadcrumb" style="<?php echo $this->module_styles['breadcrumb']; ?>" />
</div>
<?php endif; ?>
<?php if($this->modules('topmenu2')) : ?>
<div id="gkTopMenu2">
<jdoc:include type="modules" name="topmenu2" style="<?php echo $this->module_styles['topmenu2']; ?>" />
</div>
<?php endif; ?>
</div>
<?php if($this->modules('highlighter')) : ?>
<div id="gkHighlighter" class="clear">
<jdoc:include type="modules" name="highlighter" style="<?php echo $this->module_styles['highlighter']; ?>" />
</div>
<?php endif; ?>
</div>
STEP 3:
Find File: templatesgk_twn2cssgk.stuff.css
Lines: 11 to 19
Which is below
- Code: Select all
/*
* Highlighter GK4
*/
#gkHighlighter .gkHighlighterGK4 { overflow:hidden; position:relative; height:12px; line-height:10px; width: 100%; }
#gkHighlighter .gkHighlighterWrapper { float:left; height:21px; position:relative; overflow: hidden; }
#gkHighlighter .gkHighlighterWrapper .nowrap { width: 100000px; position: absolute; left: -99999em; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem { position: absolute; top:0; width:100%; left:0; font-size: 11px; line-height: 10px; color: #777; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem a { color: #777; text-shadow: 0 1px #fff }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem a:hover { color: #000; }
Change whole 11 to 19 with below code:
- Code: Select all
/*
* Highlighter GK4
*/
#gkHighlighter .gkHighlighterGK4 { overflow:hidden; position:relative; height:30px; line-height:30px; width: auto; padding-left:10px; padding-right: 10px; }
#gkHighlighter .gkHighlighterWrapper { float:left; height:21px; position:relative; overflow: hidden; }
#gkHighlighter .gkHighlighterWrapper .nowrap { width: 100000px; position: absolute; left: -99999em; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem { position: absolute; width:98%; color: #686868; font-size: 10px; line-height: 31px !important; text-transform: uppercase; text-align:center; font-family: Arial,Helvetica,sans-serif; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem a { color: #686868; }
#gkHighlighter .gkHighlighterWrapper .gkHighlighterItem a:hover { color: #000; text-decoration: underline; }
STEP 4:
Find file: templatesgk_twn2csstemplate.css
Line: 101 which is below
- Code: Select all
/* top highlighter */
#gkHighlighter { position: absolute; left: 0; bottom: 8px; width: 100%; }
Replace with below:
- Code: Select all
/* top highlighter */
#gkHighlighter { height: 31px; background: #fafafa url('../images/breadcrumbs_bg.png') repeat-x left bottom; border-bottom: 1px solid #c3c3c3; border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; -moz-border-radius: 0 0 3px 3px; }