Compare commits

...

2 Commits

Author SHA1 Message Date
jorge 510a92d4dd coded properly the custom post type slug 2024-03-11 13:25:20 +01:00
jorge e61ae7787a removed calls to $font__black in sass 2024-03-11 12:05:14 +01:00
9 changed files with 242 additions and 942 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -57,12 +57,17 @@ function xarxaprod_plugin_active() {
/**
* Echo the post type slug
*/
function xarxaprod_class_posttype (){
if( is_post_type_archive( array('xarxaprod-ajut') )) {
echo 'archive-custom-post-type-';
printf(get_post_type_object( get_post_type() )->rewrite['slug'] );
}
}
if ( ! function_exists( 'xarxaprod_class_posttype' ) ):
function xarxaprod_class_posttype (){
if( is_post_type_archive( array('xarxaprod-ajut') ) || is_post_type_archive( array('xarxaprod-convo') ) || is_post_type_archive( array( 'xarxaprod-associat') )) {
//if( get_post_type() == 'xarxaprod-ajut' || get_post_type() == 'xarxaprod-convo' || get_post_type() == 'xarxaprod-associat' ){
echo 'archive-custom-post-type-';
printf (get_post_type_object( get_post_type() )->rewrite['slug']);
}
}
endif; //end xarxaprod_calss_posttype
/**
* Displays the FAQS subcategories from category id=1
*/

View File

@ -39,22 +39,9 @@ dd {
color: $color__text-screen;
border: 1px solid $color__black;
background-color: none;
font-family: $font__black;
font-size: $font__size-body*0.7;
}
}
//.item-xxp_fund_target li {
// background-color: $color__orange;
//}
//.item-xxp_fund_source li {
// background-color: $color__lightblue;
//}
//.item-xxp_fund_field li {
// background-color: $color__yellow;
//}
//.item-xxp_fund_dates li {
// background-color: $color__green;
//}
.item-xxp_fund_call {
display: block;
margin:0.2rem 0;
@ -66,9 +53,6 @@ dd {
display:inline-block;
margin:0.1em 0;
padding: 0.2em 0.2em 0 0.2em;
//color: $color__white;
//background-color: $color__green;
font-family: $font__black;
font-size: $font__size-body*0.7;
text-transform: uppercase;
}
@ -83,13 +67,9 @@ dd {
padding: 0.2em 0.2em 0 0.2em;
color: $color__white;
background-color: $color__black;
font-family: $font__black;
font-size: $font__size-body*1.1;
text-transform: uppercase;
}
//.current-cat{
// background-color: $color__orange;
//}
a {
color: $color__white;
text-decoration: none;

View File

@ -60,11 +60,6 @@
margin: 0;
}
}
.single {
h1,.h1 {
font-family: $font__black;
}
}
.home-featured {
h2,.h2 {
margin: 1.2rem 0;
@ -117,7 +112,6 @@
font-size: $font__size-body*1.5;
}
h4,.h4 {
font-family: $font__black;
font-size: $font__size-body*1.3;
}
h5,.h5 {
@ -144,7 +138,6 @@
font-size: $font__size-body*1.6;
}
h4,.h4 {
font-family: $font__black;
font-size: $font__size-body*1.4;
}
h5,.h5 {

View File

@ -173,10 +173,9 @@
padding: 0.6em 1em 0.4em;
clear: both;
cursor: pointer;
font-family: $font__black;
font-weight: 900;
font-size: $font__size-body*0.9;
border: 1px solid $color__border-button;
text-transform: uppercase;
&:after {
content: ">";
display: inline;

View File

@ -17,7 +17,6 @@
h5,
h6 {
min-height: $font__size-body * 4.8;
font-family: $font__black;
font-size: $font__size-body * 2;
line-height: $font__line-height-body * 0.8;
}

501
style.css

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long