{"id":92893,"date":"2021-06-16T15:26:31","date_gmt":"2021-06-16T09:56:31","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=92893"},"modified":"2021-09-08T21:12:38","modified_gmt":"2021-09-08T15:42:38","slug":"font-weight-for-widget-titles","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/font-weight-for-widget-titles\/","title":{"rendered":"\u00bfC\u00f3mo solucionar el problema de que la fuente no se aplique a los t\u00edtulos de los widgets?"},"content":{"rendered":"<p>Anteriormente, el font-weight de los t\u00edtulos de los widgets (todos los de la barra lateral, pie de p\u00e1gina, cabecera) se aplicaba s\u00f3lo como \"normal\" sin importar el peso establecido para los encabezados, a pesar de que se trata de un patr\u00f3n de encabezado. <\/p>\n\n\n\n<p>Con la actualizaci\u00f3n 3.6.0 del tema Astra, este problema se ha solucionado y ahora la configuraci\u00f3n de los encabezados tambi\u00e9n se aplica correctamente a los t\u00edtulos de los widgets. <\/p>\n\n\n\n<p>Si esta mejora no se aplica autom\u00e1ticamente a su sitio web, este documento le ayudar\u00e1 a solucionarlo.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfPor qu\u00e9 necesito esta mejora?<\/h2>\n\n\n\n<p>Hasta ahora, si quer\u00edas establecer el peso de los t\u00edtulos de tu widget, necesitabas a\u00f1adir algo de CSS personalizado para ello.&nbsp;<\/p>\n\n\n\n<p>Ahora esto se puede hacer desde el Personalizador (<em>Ajustes globales &gt; Tipograf\u00eda &gt; Encabezamientos<\/em>) ajustando el peso para el tipo de r\u00fabrica apropiado con estas mejoras.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u00bfC\u00f3mo solucionarlo?<\/h2>\n\n\n\n<p>Estos cambios se aplicar\u00e1n autom\u00e1ticamente a todos los sitios web nuevos.&nbsp;<\/p>\n\n\n\n<p>Para los usuarios antiguos, esta mejora debe activarse a\u00f1adiendo un filtro. Esto se ha hecho para evitar posibles problemas con los sitios web existentes, que podr\u00edan haber aparecido en algunos casos si estas mejoras se hubieran aplicado autom\u00e1ticamente.&nbsp;<\/p>\n\n\n\n<p>Para aplicar la mejora a su sitio web existente, deber\u00e1 a\u00f1adir un filtro al archivo functions.php de su tema hijo. Si no tiene instalado el tema hijo, compruebe lo siguiente <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/install-astra-child-theme\/\">este art\u00edculo<\/a> sobre c\u00f3mo hacerlo. Por favor, a\u00f1ada el siguiente filtro:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_filter( 'astra_heading_fonts_typo_support', '__return_true' );<\/pre>\n\n\n\n<p>Si no est\u00e1 seguro de c\u00f3mo a\u00f1adir este c\u00f3digo, consulte lo siguiente <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/add-custom-php-code\/#3.-in-child-theme\">art\u00edculo<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Anteriormente, el peso de la fuente para los t\u00edtulos de los widgets (barra lateral, pie de p\u00e1gina, cabecera) se aplicaba s\u00f3lo como \"normal\" sin importar el peso establecido para los encabezados, a pesar de que se trata de un patr\u00f3n de encabezado. Con la actualizaci\u00f3n 3.6.0 del tema Astra, este problema se ha solucionado, y ahora los ajustes de los encabezados se aplican correctamente tambi\u00e9n a los t\u00edtulos de los widgets. Si esta mejora [...]<\/p>","protected":false},"author":70,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"docs_category":[2109],"docs_tag":[2037,2078,2085,2086,2087],"class_list":{"0":"post-92893","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-astra-theme-pro-filters","6":"docs_tag-astra-theme","7":"docs_tag-custom-code","8":"docs_tag-fonts","9":"docs_tag-fix","10":"docs_tag-widgets"},"spectra_custom_meta":{"wp_last_modified_info":["September 8, 2021 @ 9:12 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"_edit_lock":["1631115759:70"],"_edit_last":["70"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"site-sidebar-layout":["default"],"site-content-layout":["default"],"theme-transparent-header-meta":["default"],"_yoast_wpseo_content_score":["30"],"_yoast_wpseo_estimated-reading-time-minutes":["2"],"views":["6460"],"helpful":["0"],"unhelpful":["2"],"redirects":["1"],"_lmt_disableupdate":["no"],"_wplmi_last_modified":["2021-09-08 21:12:38"],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["249"],"rank_math_internal_links_processed":["1"],"_trp_automatically_translated_slug_es_ES":["peso-de-la-fuente-para-los-titulos-de-los-widgets"],"_uag_page_assets":["a:9:{s:3:\"css\";s:2495:\".wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-top svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-top .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-bottom svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-bottom .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__video-wrap video{opacity: 1;}.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1200px);max-width: var(--inner-content-custom-width);width: 100%;flex-direction: column;align-items: center;justify-content: center;flex-wrap: nowrap;row-gap: 0px;column-gap: 0px;}.wp-block-uagb-container.uagb-block-debf2792{box-shadow: 0px 0px   #00000070 ;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;overflow: visible;border-color: inherit;row-gap: 0px;column-gap: 0px;}@media only screen and (max-width: 976px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1024px);max-width: var(--inner-content-custom-width);width: 100%;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}@media only screen and (max-width: 767px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 767px);max-width: var(--inner-content-custom-width);width: 100%;flex-wrap: wrap;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}\";s:2:\"js\";s:0:\"\";s:18:\"current_block_list\";a:5:{i:0;s:14:\"core\/paragraph\";i:1;s:12:\"core\/heading\";i:2;s:17:\"core\/preformatted\";i:3;s:14:\"uagb\/container\";i:4;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:1;s:11:\"uag_version\";s:10:\"1777222327\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"Nikola Mihajlovic","author_link":"https:\/\/git-staging.wpastra.com\/es\/author\/nikolam\/"},"uagb_comment_info":0,"uagb_excerpt":"Previously, font-weight for widgets (all sidebar, footer, header) titles was applied only as &#8220;normal&#8221; no matter the weight set for the headings, even though this is a heading pattern. With Astra Theme update 3.6.0, this issue was fixed, and now the heading settings are being appropriately applied to widget titles too. If this improvement is&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/92893"}],"collection":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/comments?post=92893"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/92893\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=92893"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=92893"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=92893"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}