Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed Issues
Fixed i.e. column issues
Fixed Home page layout user interface.
  • Loading branch information
Jessika Mika Caldera authored and Jessika Mika Caldera committed Jul 7, 2014
1 parent 7b43269 commit e005b30
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 11 deletions.
24 changes: 21 additions & 3 deletions admin-style.css
Expand Up @@ -12,7 +12,7 @@
}

.sliders {
padding:1em 0;
padding:2.5em 0;
}
.slider-wrap {
float:left;
Expand All @@ -37,10 +37,27 @@
height: 3.5em!important;
}
.ui-slider .ui-slider-handle {
width: .75em!important;
width: .02em!important;
height: 3.9em!important;
padding:0!important;
background:#E6E6E6!important;
border: 2px dotted #2ea2cc;
}
.ui-slider .ui-slider-handle:before{
content: "";
display:block;
position: relative;
top: -23px;
left: -13px;
width: 20px;
height: 20px;
margin-left: 3px;
border-radius: 50% 50% 50% 0;
transform: rotate(45deg) ;
-webkit-transform: rotate(-45deg) ;
-moz-transform: rotate(-45deg) ;
-o-transform: rotate(-45deg) ;
-ms-transform: rotate(-45deg) ;
background: #2ea2cc;
}
.ui-slider .ui-slider-handle:hover {
cursor:-webkit-grab;
Expand All @@ -51,6 +68,7 @@
.ui-slider .ui-slider-handle:focus {
background-image:none;
background:#2ea2cc!important;
width:2px;
}
.wp-core-ui .button.sliderDeleteColumn {
background: #2ea2cc;
Expand Down
4 changes: 2 additions & 2 deletions header.php
Expand Up @@ -45,7 +45,7 @@ $parentColor = get_theme_mod( 'parentColor');
<div class="container">
<?php if ($headerImg != ''){ echo '<div id="header-image-wrap"><img src="' . get_header_image() . '" height="' . get_custom_header()->height . '" width="' . get_custom_header()->width . '" id="header-image" alt="Decorative header image of '. get_bloginfo('name') .'" /></div> ';}?>
<div class="row">
<div class="col-sm-8">
<div class="col-xs-8">
<div class="site-branding" id="uc-site-header">
<?php
if(strlen($secondary) > 0 && strlen($secondarylink) > 0){
Expand All @@ -58,7 +58,7 @@ $parentColor = get_theme_mod( 'parentColor');
<h1 id="uc-site-title" class="<?php echo $headingColor; ?>"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
</div>
</div>
<div class="col-sm-4 <?php
<div class="col-xs-4 <?php
if(strlen($secondary) > 0 && strlen($secondarylink) > 0){
if(substr($secondarylink,0,4) != 'http'){
$secondarylink = 'http://'.$secondarylink;
Expand Down
2 changes: 1 addition & 1 deletion inc/reg-sidebars.php
Expand Up @@ -67,7 +67,7 @@ function check_sidebar_params( $params ) {
} else {
$cols = floor(12 / $count);
}
$params[0]['before_widget'] = str_replace('class="', 'class="col-sm-' . $cols . ' ', $params[0]['before_widget']);
$params[0]['before_widget'] = str_replace('class="', 'class="col-xs-' . $cols . ' ', $params[0]['before_widget']);
}
return $params;
}
Expand Down
2 changes: 1 addition & 1 deletion index.php
Expand Up @@ -14,7 +14,7 @@
get_header(); ?>

<div class="row">
<div class="col-sm-9">
<div class="col-xs-9">
<div id="primary" class="content-area">

<main id="main" class="site-main" role="main">
Expand Down
2 changes: 1 addition & 1 deletion page-home.php
Expand Up @@ -21,7 +21,7 @@ get_header(); ?>
foreach($widths as $width){
if($width == 0) break;
?>
<div class="col-sm-<?php echo $width; ?>">
<div class="col-xs-<?php echo $width; ?>">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">

Expand Down
2 changes: 1 addition & 1 deletion page.php
Expand Up @@ -26,7 +26,7 @@ get_header(); ?>
}
?>
<div class="row">
<div class="col-sm-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>">
<div class="col-xs-<?php echo (is_active_sidebar( $sidebar )?9:12); ?>">
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">

Expand Down
2 changes: 1 addition & 1 deletion search.php
Expand Up @@ -7,7 +7,7 @@

get_header(); ?>
<div class="row">
<div class="col-sm-9">
<div class="col-xs-9">
<section id="primary" class="content-area">
<main id="main" class="site-main" role="main">

Expand Down
2 changes: 1 addition & 1 deletion single.php
Expand Up @@ -8,7 +8,7 @@
get_header(); ?>

<div class="row">
<div class="col-sm-9">
<div class="col-xs-9">

<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
Expand Down

0 comments on commit e005b30

Please sign in to comment.