Plugin Directory

Changeset 1534568


Ignore:
Timestamp:
11/15/2016 08:09:58 PM (9 years ago)
Author:
sociusmarketing
Message:

Updated CSS to not conflict with Bootstrap.

Location:
socius-marketing-page-taxonomy/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • socius-marketing-page-taxonomy/trunk/css/styles.css

    r1533930 r1534568  
    114114}
    115115
    116 .row {
     116.smct-row {
    117117    margin-right: -15px;
    118118    margin-left: -15px;
    119119}
    120120
    121 .row:before,
    122 .row:after {
     121.smct-row:before,
     122.smct-row:after {
    123123    display:table;
    124124    content:'';
    125125}
    126 .row:after {
     126.smct-row:after {
    127127    clear:both;
    128128}
     
    132132    box-sizing: border-box;
    133133}
    134 .col-sm-3, .col-sm-4, .col-sm-6, .col-sm-8,
    135 .col-md-3, .col-md-4, .col-md-9 {
     134.smct-col-sm-3, .smct-col-sm-4, .smct-col-sm-6, .smct-col-sm-8,
     135.smct-col-md-3, .smct-col-md-4, .smct-col-md-9 {
    136136    position: relative;
    137137    min-height: 1px;
     
    139139    padding-left: 15px;
    140140}
    141 .col-xs-12 {
     141.smct-col-xs-12 {
    142142    width:100%;
    143143}
     
    145145/* Small devices (tablets, 768px and up) */
    146146@media (min-width: 768px) {
    147     .col-sm-3, .col-sm-4, .col-sm-6, .col-sm-8,
    148     .col-md-3, .col-md-4, .col-md-9 {
     147    .smct-col-sm-3, .smct-col-sm-4, .smct-col-sm-6, .smct-col-sm-8,
     148    .smct-col-md-3, .smct-col-md-4, .smct-col-md-9 {
    149149        float:left;
    150150    }
    151     .col-sm-3 {
     151    .smct-col-sm-3 {
    152152        width: 25%;
    153153    }
    154     .col-sm-4 {
     154    .smct-col-sm-4 {
    155155        width:33.33333333%;
    156156    }
    157     .col-sm-6 {
     157    .smct-col-sm-6 {
    158158        width:50%;
    159159    }
    160     .col-sm-8 {
     160    .smct-col-sm-8 {
    161161        width:66.66666667%;
    162162    }
     
    170170/* Medium devices (desktops, 992px and up) */
    171171@media (min-width: 992px) {
    172     .col-md-3 {
     172    .smct-col-md-3 {
    173173        width: 25%;
    174174    }
    175     .col-md-4 {
     175    .smct-col-md-4 {
    176176        width: 33.33333333%;
    177177    }
    178     .col-md-9 {
     178    .smct-col-md-9 {
    179179        width: 75%;
    180180    }
  • socius-marketing-page-taxonomy/trunk/inc/archive-pages.php

    r1533930 r1534568  
    6161                    wp_reset_postdata();
    6262
    63                 $content .= '<div id="smct-' . $term->slug . '" class="col-md-4 col-sm-6 smct-category">';
     63                $content .= '<div id="smct-' . $term->slug . '" class="smct-col-md-4 smct-col-sm-6 smct-category">';
    6464                    $content .= '<h3><a href="' . esc_url( get_term_link( $term ) ) . '"><span class="smct-image-wrap" style="background-image:url(' . $first_image . ')"></span>' . $term->name . '</a></h3>';
    6565                $content .= '</div>';
     
    9898            $content .= '<h1>Areas Served</h1>';
    9999        }
    100         $content .= '<div class="row">';
     100        $content .= '<div class="smct-row">';
    101101        foreach ( $terms as $term ) {
    102102
     
    125125                    wp_reset_postdata();
    126126                if(get_option('smct_width_of_pages')[0] == 'full-width') {
    127                     $width = 'col-md-3 col-sm-6 col-xs-12';
     127                    $width = 'smct-col-md-3 smct-col-sm-6 smct-col-xs-12';
    128128                } else {
    129                     $width = 'col-md-4 col-sm-6 col-xs-12';
     129                    $width = 'smct-col-md-4 smct-col-sm-6 smct-col-xs-12';
    130130                }
    131131                $content .= '<div id="smct-' . $term->slug . '" class="' . $width . ' smct-state">';
  • socius-marketing-page-taxonomy/trunk/inc/template-archive.php

    r1533930 r1534568  
    8787
    8888                    echo '<div id="smct-cities-listing">';
    89                     echo '<div class="row">';
    90                         echo '<div class="col-sm-4 col-xs-12"><p><span class="stateface cities">' . smct_determine_stateface($current_page->name) . '</span></p></div>';
    91                         echo '<div class="col-sm-8 col-xs-12">';
     89                    echo '<div class="smct-row">';
     90                        echo '<div class="smct-col-sm-4 smct-col-xs-12"><p><span class="stateface cities">' . smct_determine_stateface($current_page->name) . '</span></p></div>';
     91                        echo '<div class="smct-col-sm-8 smct-col-xs-12">';
    9292                            echo '<ul>';
    9393                            foreach ( $termchildren as $child ) {
    9494                                $term = get_term_by( 'id', $child, $taxonomy );
    95                                 echo '<li class="col-sm-6"><a href="' . get_term_link( $child, $taxonomy ) . '">' . $term->name . '</a></li>';
     95                                echo '<li class="smct-col-sm-6"><a href="' . get_term_link( $child, $taxonomy ) . '">' . $term->name . '</a></li>';
    9696                            }
    9797                            echo '</ul>';
     
    108108                    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>               
    109109
    110                         <div class="smct-archive-summary row">
    111                             <div class="col-md-3 col-sm-4 col-xs-12 smct-image">
     110                        <div class="smct-archive-summary smct-row">
     111                            <div class="smct-col-md-3 smct-col-sm-4 smct-col-xs-12 smct-image">
    112112                                <a href="<?php the_permalink(); ?>"><span class="smct-image-wrap" style="background-image:url(<?php echo smct_grab_first_image(); ?>)"></span></a>
    113113                                <?php /* <img src="<?php echo smct_grab_first_image(); ?>" alt="<?php echo get_the_title();?>" />*/ ?>
    114114                            </div>
    115                             <div class="col-md-9 col-sm-8 col-xs-12 smct-text">
     115                            <div class="smct-col-md-9 smct-col-sm-8 smct-col-xs-12 smct-text">
    116116                                <h3 class="smct-archive-title"><a href="<?php the_permalink(); ?>" title="<?php printf( the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark">
    117117                                <?php //Use Custom Page Title meta, if there is one
  • socius-marketing-page-taxonomy/trunk/readme.txt

    r1533930 r1534568  
    6262== Changelog ==
    6363
     64= 1.0.1 =
     65* Updated CSS to not conflict with Bootstrap.
     66
    6467= 1.0.0 =
    6568* Custom Taxonomies.
Note: See TracChangeset for help on using the changeset viewer.