Skip to content

Commit 32aeef6

Browse files
author
Ovidiu-Florin BOGDAN
committed
added changes from original theme + screenshot
1 parent d4b6257 commit 32aeef6

5 files changed

+713
-0
lines changed

includes/advertica-custom-css.php

+102
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
<?php global $advertica_shortname, $advertica_themename, $post; ?>
2+
<?php
3+
4+
if(sketch_get_option($advertica_shortname.'_colorpicker')){ $bg_color = sketch_get_option($advertica_shortname.'_colorpicker'); }
5+
if(sketch_get_option($advertica_shortname.'_fullparallax_image')){ $fullparallax_image = sketch_get_option($advertica_shortname.'_fullparallax_image'); }
6+
if(sketch_get_option($advertica_shortname.'_bread_title_color')){ $skt_bread_title_color = sketch_get_option($advertica_shortname.'_bread_title_color'); }
7+
if(sketch_get_option($advertica_shortname.'_bread_color')){ $breadcolor = sketch_get_option($advertica_shortname.'_bread_color'); }
8+
if(sketch_get_option($advertica_shortname.'_bread_image')){
9+
if ( has_post_thumbnail() ) {
10+
$thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID),'advertica_standard_img');
11+
$breadimage = $thumbnail[0];
12+
}
13+
else
14+
{
15+
$breadimage = sketch_get_option($advertica_shortname.'_bread_image');
16+
}
17+
}
18+
19+
if(is_page()) {
20+
$pagetitlebg = get_post_meta($post->ID, "_pagetitle_bg", true);
21+
}else{
22+
$pagetitlebg = "";
23+
}
24+
25+
?>
26+
<style type="text/css">
27+
28+
29+
/***************** THEME *****************/
30+
31+
a.skt-featured-icons,.service-icon{ background: <?php if(isset($bg_color)){ echo $bg_color; } ?>;}
32+
a.skt-featured-icons:after,.service-icon:after {border-top-color: <?php if(isset($bg_color)){ echo $bg_color; } ?>; }
33+
a.skt-featured-icons:before,.service-icon:before {border-bottom-color: <?php if(isset($bg_color)){ echo $bg_color; } ?>; }
34+
35+
36+
.sticky-post {color : <?php if(isset($bg_color)){ echo $bg_color; } ?>;border-color:<?php if(isset($bdrrgbcolor)){ echo $bdrrgbcolor; } ?>}
37+
#footer{ border-color: <?php if(isset($bg_color)){ echo $bg_color; } ?>; }
38+
.social li a:hover{background: <?php if(isset($bg_color)){ echo $bg_color; } ?>;}
39+
.social li a:hover:before{color:#fff; }
40+
a#backtop,#respond input[type="submit"]:hover,.skt-ctabox div.skt-ctabox-button a:hover,.widget_tag_cloud a:hover,.continue a:hover,blockquote,.skt-quote,#advertica-paginate .advertica-current,#advertica-paginate a:hover,.postformat-gallerydirection-nav li a:hover,#wp-calendar,.comments-template .reply a:hover,#content .contact-left form input[type="submit"]:hover,.skt-parallax-button:hover,.sktmenu-toggle {background-color: <?php if(isset($bg_color)){ echo $bg_color; } ?>; }
41+
.skt-ctabox div.skt-ctabox-button a,#portfolio-division-box .readmore,.teammember,.comments-template .reply a,#respond input[type="submit"],.slider-link a,.ske_tab_v ul.ske_tabs li.active,.ske_tab_h ul.ske_tabs li.active,#content .contact-left form input[type="submit"],.filter a,.skt-parallax-button,#advertica-paginate a:hover,#advertica-paginate .advertica-current,#content .contact-left form textarea:focus,#content .contact-left form input[type="text"]:focus, #content .contact-left form input[type="email"]:focus, #content .contact-left form input[type="url"]:focus, #content .contact-left form input[type="tel"]:focus, #content .contact-left form input[type="number"]:focus, #content .contact-left form input[type="range"]:focus, #content .contact-left form input[type="date"]:focus, #content .contact-left form input[type="file"]:focus{border-color:<?php if(isset($bg_color)){ echo $bg_color; } ?>;}
42+
.clients-items li a:hover{border-bottom-color:<?php if(isset($bg_color)){ echo $bg_color; } ?>;}
43+
a,.ske-footer-container ul li:hover:before,.ske-footer-container ul li:hover > a,.ske_widget ul ul li:hover:before,.ske_widget ul ul li:hover,.ske_widget ul ul li:hover a,.title a ,.skepost-meta a:hover,.post-tags a:hover,.entry-title a:hover ,.readmore a:hover,#Site-map .sitemap-rows ul li a:hover ,.childpages li a,#Site-map .sitemap-rows .title,.ske_widget a,.ske_widget a:hover,#Site-map .sitemap-rows ul li:hover,#footer .third_wrapper a:hover,.ske-title,#content .contact-left form input[type="submit"],.filter a,span.team_name,#respond input[type="submit"],.reply a, a.comment-edit-link,.skt_price_table .price_in_table .value, .teammember strong .team_name,#content .skt-service-page .one_third:hover .service-box-text h3,.ad-service:hover .service-box-text h3,.mid-box-mid .mid-box:hover .iconbox-content h4,.error-txt,.skt-ctabox .skt-ctabox-content h2,.reply a:hover, a.comment-edit-link:hover {color: <?php if(isset($bg_color)){ echo $bg_color; } ?>;text-decoration: none;}
44+
.single #content .title,#content .post-heading,.childpages li ,.fullwidth-heading,.comment-meta a:hover,#respond .required, #wp-calendar tbody a{color: <?php if(isset($bg_color)){ echo $bg_color; } ?>;}
45+
#skenav ul ul li a:hover{background-color: <?php if(isset($bg_color)){ echo $bg_color; } ?>;color:#fff;}
46+
*::-moz-selection{background: <?php if(isset($bg_color)){ echo $bg_color; } ?>;color:#fff;}
47+
::selection {background: <?php if(isset($bg_color)){ echo $bg_color; } ?>;color:#fff;}
48+
#skenav ul li.current_page_item > a,
49+
#skenav ul li.current-menu-ancestor > a,
50+
#skenav ul li.current-menu-item > a,
51+
#skenav ul li.current-menu-parent > a { background-color:<?php if(isset($bg_color)){ echo $bg_color; } ?>;color:#fff;}
52+
.continue a:hover { border-color: <?php if(isset($bg_color)){ echo $bg_color; } ?>; }
53+
#searchform input[type="submit"]{ background: none repeat scroll 0 0 <?php if(isset($bg_color)){ echo $bg_color; } ?>; }
54+
55+
.col-one .box .title, .col-two .box .title, .col-three .box .title, .col-four .box .title {color: <?php if(isset($bg_color)){ echo $bg_color; } ?> !important; }
56+
.full-bg-breadimage-fixed {}
57+
#full-division-box { background-image: url("<?php if(isset($fullparallax_image)){ echo $fullparallax_image; } ?>"); }
58+
59+
<?php if(sketch_get_option($advertica_shortname.'_bread_stype')){ $bread_type = sketch_get_option($advertica_shortname.'_bread_stype'); }
60+
61+
if(isset($bread_type)) {
62+
if ($bread_type == "brcolor" && $pagetitlebg == Null ) {?>.full-bg-breadimage-fixed { background-color: <?php echo $breadcolor; ?>;}<?php }
63+
else { ?> .full-bg-breadimage-fixed { background-image: url("<?php if(isset($pagetitlebg) && $pagetitlebg!= Null ){ echo $pagetitlebg;} ?>");} <?php }
64+
?>
65+
<?php if($bread_type == "brimage") { ?>.full-bg-breadimage-fixed { background-image: url("<?php if(isset($pagetitlebg) && $pagetitlebg!= Null ){ echo $pagetitlebg;} else { echo $breadimage; } ?>");}<?php } } ?>
66+
#full-division-box { background-image: url("<?php if(isset($fullparallax_image)){ echo $fullparallax_image; } ?>"); }
67+
68+
.bread-title-holder h1.title,.cont_nav_inner span,.bread-title-holder .cont_nav_inner p,.bread-title-holder .cont_nav_inner a{
69+
color: <?php if(isset($skt_bread_title_color)){ echo $skt_bread_title_color; } ?>;
70+
}
71+
72+
/***************** PAGINATE *****************/
73+
#skenav li a:hover,#skenav .sfHover { background-color:#333333;color: #FFFFFF;}
74+
#skenav .sfHover a { color: #FFFFFF;}
75+
#skenav ul ul li { background: none repeat scroll 0 0 #333333; color: #FFFFFF; }
76+
#skenav .ske-menu #menu-secondary-menu li a:hover, #skenav .ske-menu #menu-secondary-menu .current-menu-item a{color: #71C1F2; }
77+
.footer-seperator{background-color: rgba(0,0,0,.2);}
78+
#skenav .ske-menu #menu-secondary-menu li .sub-menu li { margin: 0; }
79+
80+
81+
@media only screen and (max-width : 1025px) {
82+
#menu-main {
83+
display:none;
84+
}
85+
86+
#header .container {
87+
width:97%;
88+
}
89+
90+
.skehead-headernav .logo {
91+
margin-bottom: 3px;
92+
margin-top: 12px;
93+
position: relative;
94+
}
95+
96+
.skehead-headernav.skehead-headernav-shrink .logo {
97+
margin-top: 1px;
98+
top: 6px;
99+
}
100+
101+
}
102+
</style>
+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
<?php global $advertica_shortname; ?>
2+
<div id="featured-box" class="skt-section">
3+
<div class="container">
4+
<div class="mid-box-mid row-fluid">
5+
<!-- Featured Box 1 -->
6+
<div class="mid-box span3 fade_in_hide element_fade_in">
7+
<div class="skt-iconbox iconbox-top">
8+
<div class="iconbox-icon skt-animated small-to-large skt-viewport">
9+
<?php if(sketch_get_option($advertica_shortname.'_fb1_first_part_image')) { ?>
10+
<a class="skt-featured-images" href="<?php if(sketch_get_option($advertica_shortname."_fb1_first_part_link")) { echo sketch_get_option($advertica_shortname."_fb1_first_part_link"); } ?>" title="<?php if(sketch_get_option($advertica_shortname."_fb1_first_part_heading")) { echo sketch_get_option($advertica_shortname."_fb1_first_part_heading"); } ?>">
11+
<span class="skt-featured-image-mask"></span>
12+
<img class="skin-bg" src="<?php echo sketch_get_option($advertica_shortname.'_fb1_first_part_image','advertica-lite'); ?>" alt="boximg"/>
13+
</a>
14+
<?php } else { ?>
15+
<a class="skt-featured-icons" href="<?php if(sketch_get_option($advertica_shortname."_fb1_first_part_link")) { echo esc_url(sketch_get_option($advertica_shortname."_fb1_first_part_link")); } ?>" title="<?php if(sketch_get_option($advertica_shortname."_fb1_first_part_heading")) { echo sketch_get_option($advertica_shortname."_fb1_first_part_heading"); } ?>">
16+
<i class="fa fa-briefcase"></i>
17+
</a>
18+
<?php } ?>
19+
</div>
20+
<div class="iconbox-content">
21+
<h4><?php if(sketch_get_option($advertica_shortname."_fb1_first_part_heading")) { echo sketch_get_option($advertica_shortname."_fb1_first_part_heading"); } ?></h4>
22+
<p><?php if(sketch_get_option($advertica_shortname."_fb1_first_part_content")) { echo sketch_get_option($advertica_shortname."_fb1_first_part_content"); } ?></p>
23+
</div>
24+
<div class="clearfix"></div>
25+
</div>
26+
</div>
27+
<!-- Featured Box 2 -->
28+
<div class="mid-box span3 fade_in_hide element_fade_in" >
29+
<div class="skt-iconbox iconbox-top">
30+
<div class="iconbox-icon skt-animated small-to-large skt-viewport">
31+
<?php if(sketch_get_option($advertica_shortname.'_fb2_second_part_image')) { ?>
32+
<a class="skt-featured-images" href="<?php if(sketch_get_option($advertica_shortname."_fb2_second_part_link")) { echo esc_url(sketch_get_option($advertica_shortname."_fb2_second_part_link")); } ?>" title="<?php if(sketch_get_option($advertica_shortname."_fb2_second_part_heading")) { echo sketch_get_option($advertica_shortname."_fb2_second_part_heading"); } ?>">
33+
<span class="skt-featured-image-mask"></span>
34+
<img class="skin-bg" src="<?php echo sketch_get_option($advertica_shortname.'_fb2_second_part_image','advertica-lite'); ?>" alt="boximg"/>
35+
</a>
36+
<?php } else { ?>
37+
<a class="skt-featured-icons" href="<?php if(sketch_get_option($advertica_shortname."_fb2_second_part_link")) { echo sketch_get_option($advertica_shortname."_fb2_second_part_link"); } ?>" title="<?php if(sketch_get_option($advertica_shortname."_fb2_second_part_heading")) { echo sketch_get_option($advertica_shortname."_fb2_second_part_heading"); } ?>">
38+
<i class="fa fa-bar-chart-o"></i>
39+
</a>
40+
<?php } ?>
41+
</div>
42+
<div class="iconbox-content">
43+
<h4><?php if(sketch_get_option($advertica_shortname."_fb2_second_part_heading")) { echo sketch_get_option($advertica_shortname."_fb2_second_part_heading"); } ?></h4>
44+
<p><?php if(sketch_get_option($advertica_shortname."_fb2_second_part_content")) { echo sketch_get_option($advertica_shortname."_fb2_second_part_content"); } ?></p>
45+
</div>
46+
<div class="clearfix"></div>
47+
</div>
48+
</div>
49+
<!-- Featured Box 3 -->
50+
<div class="mid-box span3 fade_in_hide element_fade_in" >
51+
<div class="skt-iconbox iconbox-top">
52+
<div class="iconbox-icon skt-animated small-to-large skt-viewport">
53+
<?php if(sketch_get_option($advertica_shortname.'_fb3_third_part_image')) { ?>
54+
<a class="skt-featured-images" href="<?php if(sketch_get_option($advertica_shortname."_fb3_third_part_link")) { echo esc_url(sketch_get_option($advertica_shortname."_fb3_third_part_link")); } ?>" title="<?php if(sketch_get_option($advertica_shortname."_fb3_third_part_heading")) { echo sketch_get_option($advertica_shortname."_fb3_third_part_heading"); } ?>">
55+
<span class="skt-featured-image-mask"></span>
56+
<img class="skin-bg" src="<?php echo sketch_get_option($advertica_shortname.'_fb3_third_part_image','advertica-lite'); ?>" alt="boximg"/>
57+
</a>
58+
<?php } else { ?>
59+
<a class="skt-featured-icons" href="<?php if(sketch_get_option($advertica_shortname."_fb3_third_part_link")) { echo sketch_get_option($advertica_shortname."_fb3_third_part_link"); } ?>" title="<?php if(sketch_get_option($advertica_shortname."_fb3_third_part_heading")) { echo sketch_get_option($advertica_shortname."_fb3_third_part_heading"); } ?>">
60+
<i class="fa fa-sitemap"></i>
61+
</a>
62+
<?php } ?>
63+
</div>
64+
<div class="iconbox-content">
65+
<h4><?php if(sketch_get_option($advertica_shortname."_fb3_third_part_heading")) { echo sketch_get_option($advertica_shortname."_fb3_third_part_heading"); } ?></h4>
66+
<p><?php if(sketch_get_option($advertica_shortname."_fb3_third_part_content")) { echo sketch_get_option($advertica_shortname."_fb3_third_part_content"); } ?></p>
67+
</div>
68+
<div class="clearfix"></div>
69+
</div>
70+
</div>
71+
<!-- Featured Box 4 -->
72+
<div class="mid-box span3 fade_in_hide element_fade_in" >
73+
<div class="skt-iconbox iconbox-top">
74+
<div class="iconbox-icon skt-animated small-to-large skt-viewport">
75+
<?php if(sketch_get_option($advertica_shortname.'_fb4_second_part_image')) { ?>
76+
<a class="skt-featured-images" href="<?php if(sketch_get_option($advertica_shortname."_fb4_second_part_link")) { echo esc_url(sketch_get_option($advertica_shortname."_fb4_second_part_link")); } ?>" title="<?php if(sketch_get_option($advertica_shortname."_fb4_second_part_heading")) { echo sketch_get_option($advertica_shortname."_fb4_second_part_heading"); } ?>">
77+
<span class="skt-featured-image-mask"></span>
78+
<img class="skin-bg" src="<?php echo sketch_get_option($advertica_shortname.'_fb4_second_part_image','advertica-lite'); ?>" alt="boximg"/>
79+
</a>
80+
<?php } else { ?>
81+
<a class="skt-featured-icons" href="<?php if(sketch_get_option($advertica_shortname."_fb4_second_part_link")) { echo sketch_get_option($advertica_shortname."_fb4_second_part_link"); } ?>" title="<?php if(sketch_get_option($advertica_shortname."_fb4_second_part_heading")) { echo sketch_get_option($advertica_shortname."_fb4_second_part_heading"); } ?>">
82+
<i class="fa fa-bar-chart-o"></i>
83+
</a>
84+
<?php } ?>
85+
</div>
86+
<div class="iconbox-content">
87+
<h4><?php if(sketch_get_option($advertica_shortname."_fb4_second_part_heading")) { echo sketch_get_option($advertica_shortname."_fb4_second_part_heading"); } ?></h4>
88+
<p><?php if(sketch_get_option($advertica_shortname."_fb4_second_part_content")) { echo sketch_get_option($advertica_shortname."_fb4_second_part_content"); } ?></p>
89+
</div>
90+
<div class="clearfix"></div>
91+
</div>
92+
</div>
93+
<div class="clearfix"></div>
94+
</div>
95+
</div>
96+
</div>

0 commit comments

Comments
 (0)