Modifica y simplifica funciones personalizadas

Se elimina la función ssl_srcset() porque ya no aplica. Se añade la
función exclude_taxonomy_terms() para ocultar términos de taxonomía para
ayudar en la publicación de contenidos. También se simplifica la función
avia_change_breadcrumb(), y, sobre todo, la función before_save_post()
para la publicación de contenidos en redes sociales. Sólo se requiere
que el título sea obligatorio.

Y se extienden y corrigen estilos para la visualización de contenidos.
This commit is contained in:
Manuel Cillero 2020-04-19 09:34:42 +02:00
parent 31c05ebcdd
commit 5348d987b6
4 changed files with 213 additions and 199 deletions

View file

@ -45,11 +45,20 @@ strong {
color: inherit !important;
}
div.container_wrap_first {
background: #ebeae9 url(images/bg-page.png) repeat-x 0 bottom;
background: #e1e1e1 url(images/bg-page.png) repeat-x center bottom -1px;
}
div.container_wrap_first > div.container:first-child {
background-color: #fff;
}
body.category-archivo div.container_wrap_first > div.container:first-child {
background: #fff url(images/notebook.jpg) repeat-y left top;
padding-left: 68px;
}
body.archive.tag div.container_wrap_first > div.container:first-child,
body.page-id-121962 div.container_wrap_first > div.container:first-child {
background: #fff url(images/dividers.jpg) repeat-y left top;
padding-left: 76px;
}
.main_color .av-inner-masonry-content {
opacity: .82;
filter: alpha(opacity=82); /* For IE8 and earlier */
@ -192,8 +201,9 @@ a.avia-cookie-consent-button:hover {
background-color: #e9146c;
height: 4px;
}
#menu-item-5544 {
#menu-item-5777 {
border-top: 1px solid #556372;
border-bottom: 1px solid #556372;
}
/*
@ -239,6 +249,7 @@ a.avia-cookie-consent-button:hover {
}
.entry-content-wrapper h3 {
font-size: 22px;
color: #c73e77;
}
.entry-content-wrapper h4 {
font-size: 20px;
@ -337,12 +348,16 @@ span[data-avia-tooltip] {
.post-entry .big-preview img {
margin: auto;
}
/* Links and Social posts */
article.post-entry-simple .entry-content-wrapper div.entry-content {
.post-entry.format-image .big-preview img {
max-height: 900px;
width: auto;
}
/* Apuntes posts */
article.category-apuntes .entry-content-wrapper div.entry-content {
border-left: 7px solid #3c8dbc;
padding-left: 20px;
}
article.post-entry-simple .entry-content-wrapper p {
article.category-apuntes .entry-content-wrapper p {
font-size: 1.235em;
line-height: 1.5em;
text-align: left;
@ -437,6 +452,10 @@ footer.entry-footer {
margin-bottom: 30px;
}
/* Comments */
li.comment {
margin: 0;
padding: 0;
}
.comment_content,
#top .commentlist .children ul {
padding-right: 18px !important;
@ -492,6 +511,15 @@ footer.entry-footer {
font-size: 15px;
}
/*
* Timelines.
*/
.multi-big .post_author_timeline,
.single-small .post_author_timeline,
.avia-icon-list .iconlist-timeline {
border-right-width: 3px;
}
/*
* EnlighterJS PLUGIN.
*/
@ -520,11 +548,21 @@ span.EnlighterJS {
/*
* PAGES STYLES.
*/
#tag_cloud-5 a {
#tag_cloud-5 a,
#tag_cloud-6 a {
display: inline;
float: none;
border: 0;
padding: 2px 3px;
white-space: nowrap;
}
/* Archive */
.page-id-5502 .avia-content-slider.avia-builder-el-2 .fake-thumbnail .slide-image {
display: none;
}
.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-meta,
.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt {
font-size: 75%;
}
/*
@ -835,6 +873,20 @@ body.tax-quote_author_tag .quote-author a:hover {
background-color: #000;
}
#top .pagination {
padding: 10px 0;
}
#top .pagination .current,
#top .pagination a,
#top .fullsize .template-blog .pagination a {
box-shadow: 0px 0px 5px 0px #777777;
margin-left: 3px;
}
#top .pagination .current {
background-color: #777777;
color: #ffffff;
}
.av-image-caption-overlay-center p {
text-align: center !important;
}
@ -910,6 +962,15 @@ body.tax-quote_author_tag .quote-author a:hover {
}
}
@media (min-width: 768px) and (max-width: 929px) {
/* Title widgets */
.widget_nav_menu .nested_nav > li > a:before,
h3.widgettitle:before {
display: none;
}
.widget_nav_menu .nested_nav > li > a,
h3.widgettitle {
padding-left: 8px !important;
}
/* List items widgets */
ul.dpe-flexible-posts li img {
display: none;
@ -939,6 +1000,12 @@ body.tax-quote_author_tag .quote-author a:hover {
div.container_wrap_first {
background: #fff;
}
body.category-archivo div.container_wrap_first > div.container:first-child,
body.archive.tag div.container_wrap_first > div.container:first-child,
body.page-id-121962 div.container_wrap_first > div.container:first-child {
background: #fff;
padding-left: 30px;
}
#avia2-menu {
display: none;
}
@ -961,6 +1028,15 @@ body.tax-quote_author_tag .quote-author a:hover {
width: 31.3%;
margin: 0 1%;
}
/* Archive */
.page-id-5502 .avia-content-slider.avia-builder-el-1 .slide-meta,
.page-id-5502 .avia-content-slider.avia-builder-el-1 .slide-entry-excerpt {
font-size: 75%;
}
.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-meta,
.page-id-5502 .avia-content-slider.avia-builder-el-2 .slide-entry-excerpt {
font-size: 100%;
}
}
@media (max-width: 567px) {
/* LAYOUT */