{"id":25526,"date":"2018-03-27T00:00:00","date_gmt":"2018-03-26T18:30:00","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=25526"},"modified":"2022-09-13T05:44:52","modified_gmt":"2022-09-13T00:14:52","slug":"how-to-edit-style-css-in-child-theme","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/how-to-edit-style-css-in-child-theme\/","title":{"rendered":"\u00bfC\u00f3mo editar style.css en un tema hijo?"},"content":{"rendered":"<p>Si quieres a\u00f1adir CSS personalizado al tema puedes a\u00f1adirlo al style.css del tema hijo<\/p>\n\n\n\n<p>Inicialmente, es necesario<a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/install-astra-child-theme\/\"> instalar y activar<\/a> el tema hijo Astra. Puede editar el style.css del tema hijo de las siguientes maneras-<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>A trav\u00e9s del panel de WordPress<\/strong><\/h3>\n\n\n\n<p>Paso 1: Vaya a Apariencia &gt; Editor de temas.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/Ast-theme-file-editor-1.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"450\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/Ast-theme-file-editor-1-1024x450.png\" alt=\"ast-theme-file-editor\" class=\"wp-image-132871\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/Ast-theme-file-editor-1-1024x450.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/Ast-theme-file-editor-1-300x132.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/Ast-theme-file-editor-1-768x338.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/Ast-theme-file-editor-1.png 1324w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Segundo paso: <\/strong>Seleccione Astra child theme para editar, en la esquina superior derecha.<\/p>\n\n\n\n<p><strong>Paso 3:<\/strong> Seleccione Stylesheet (style.css) para editar y pegue el c\u00f3digo en la parte inferior del archivo.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/ast-child-theme-1-1.png\"><img decoding=\"async\" width=\"1024\" height=\"440\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/ast-child-theme-1-1-1024x440.png\" alt=\"ast-child-theme\" class=\"wp-image-132872\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/ast-child-theme-1-1-1024x440.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/ast-child-theme-1-1-300x129.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/ast-child-theme-1-1-768x330.png 768w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2022\/09\/ast-child-theme-1-1.png 1349w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Paso 4:<\/strong> Guarda los cambios.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>A trav\u00e9s de FTP<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>Abra su sitio WordPress a trav\u00e9s de FTP. Le recomendamos que utilice FileZilla.<\/li><li>Vaya a wp-content &gt; themes &gt; astra-child<\/li><li>Haga clic con el bot\u00f3n derecho en style.css y seleccione Ver\/Editar<\/li><li>A\u00f1ade tu c\u00f3digo al final del archivo y gu\u00e1rdalo.<\/li><\/ol>","protected":false},"excerpt":{"rendered":"<p>Si quieres a\u00f1adir CSS personalizado al tema puedes a\u00f1adirlo al style.css del tema hijo. Inicialmente, necesitas instalar y activar el tema hijo Astra. Puede editar el style.css del tema hijo de las siguientes maneras: A trav\u00e9s del panel de control de WordPress Paso 1: Vaya a Apariencia &gt; Editor de temas. Paso 2: Seleccione el tema hijo Astra para [...]<\/p>","protected":false},"author":20,"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":[108],"docs_tag":[],"class_list":{"0":"post-25526","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-general"},"spectra_custom_meta":{"_yoast_wpseo_primary_docs_category":["108"],"_wp_old_slug":[""],"_wp_page_template":["default"],"_edit_lock":["1663028094:86"],"_edit_last":["86"],"onesignal_meta_box_present":["1"],"onesignal_send_notification":[""],"wpil_sync_report3":["1"],"site-sidebar-layout":["default"],"site-content-layout":["default"],"theme-transparent-header-meta":["default"],"_yoast_wpseo_content_score":["90"],"wpil_links_inbound_internal_count":["2"],"wpil_links_inbound_internal_count_data":["a:2:{i:0;a:9:{s:3:\"url\";s:74:\"https:\/\/git-staging.wpastra.com\/docs\/how-to-edit-style-css-in-child-theme\/\";s:8:\"url_real\";s:74:\"https:\/\/git-staging.wpastra.com\/docs\/how-to-edit-style-css-in-child-theme\/\";s:4:\"host\";s:11:\"wpastra.com\";s:9:\"host_real\";s:11:\"wpastra.com\";s:8:\"internal\";b:1;s:7:\"post_id\";s:2:\"13\";s:6:\"anchor\";s:41:\"How to edit style.css in the child theme?\";s:15:\"added_by_plugin\";b:0;s:10:\"post_title\";s:22:\"Adding Custom CSS Code\";}i:1;a:9:{s:3:\"url\";s:74:\"https:\/\/git-staging.wpastra.com\/docs\/how-to-edit-style-css-in-child-theme\/\";s:8:\"url_real\";s:74:\"https:\/\/git-staging.wpastra.com\/docs\/how-to-edit-style-css-in-child-theme\/\";s:4:\"host\";s:11:\"wpastra.com\";s:9:\"host_real\";s:11:\"wpastra.com\";s:8:\"internal\";b:1;s:7:\"post_id\";s:5:\"22238\";s:6:\"anchor\";s:39:\"How to edit style.css in a child theme?\";s:15:\"added_by_plugin\";b:0;s:10:\"post_title\";s:54:\"What is a child theme and how to install it for Astra?\";}}"],"wpil_links_outbound_internal_count":["1"],"wpil_links_outbound_internal_count_data":["a:1:{i:0;a:9:{s:3:\"url\";s:63:\"https:\/\/git-staging.wpastra.com\/docs\/install-astra-child-theme\/\";s:8:\"url_real\";s:63:\"https:\/\/git-staging.wpastra.com\/docs\/install-astra-child-theme\/\";s:4:\"host\";s:11:\"wpastra.com\";s:9:\"host_real\";s:11:\"wpastra.com\";s:8:\"internal\";b:1;s:7:\"post_id\";i:0;s:6:\"anchor\";s:21:\" install and activate\";s:15:\"added_by_plugin\";b:0;s:10:\"post_title\";s:0:\"\";}}"],"wpil_links_outbound_external_count":["0"],"wpil_links_outbound_external_count_data":["a:0:{}"],"wpil_sync_report2_time":["2019-09-05T12:01:52+00:00"],"_ppc_meta_key":["a:11:{s:8:\"ppc_key5\";s:37:\"Title is Catchy and Slug is Optimized\";s:20:\"ppc_key5d92f85d42273\";s:60:\"Images &amp; Names Correctly. Title &amp; Alt Tags are Given\";s:8:\"ppc_key4\";s:15:\"Formatting Done\";s:8:\"ppc_key8\";s:28:\"Spelling and Grammar Checked\";s:8:\"ppc_key2\";s:23:\"Featured Image Assigned\";s:8:\"ppc_key6\";s:22:\"Social Images Assigned\";s:8:\"ppc_key3\";s:28:\"Category and Author Selected\";s:8:\"ppc_key7\";s:8:\"Done SEO\";s:20:\"ppc_key5ddf5ba19a347\";s:9:\"TOC Added\";s:20:\"ppc_key5ddf5b93dc6a6\";s:21:\"Affiliate Links Added\";s:20:\"ppc_key5ddf5c326920c\";s:59:\"Headings are in title-case and have appropriate heading tag\";}"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"essb_pc_facebook":[""],"essb_pc_facebook_like":[""],"essb_pc_twitter":[""],"essb_pc_google":[""],"essb_pc_pinterest":[""],"essb_pc_linkedin":[""],"essb_pc_digg":[""],"essb_pc_del":[""],"essb_pc_stumbleupon":[""],"essb_pc_tumblr":[""],"essb_pc_vk":[""],"essb_pc_print":[""],"essb_pc_mail":[""],"essb_pc_flattr":[""],"essb_pc_reddit":[""],"essb_pc_buffer":[""],"essb_pc_love":[""],"essb_pc_weibo":[""],"essb_pc_pocket":[""],"essb_pc_xing":[""],"essb_pc_ok":[""],"essb_pc_mwp":[""],"essb_pc_more":[""],"essb_pc_whatsapp":[""],"essb_pc_meneame":[""],"essb_pc_blogger":[""],"essb_pc_amazon":[""],"essb_pc_yahoomail":[""],"essb_pc_gmail":[""],"essb_pc_aol":[""],"essb_pc_newsvine":[""],"essb_pc_hackernews":[""],"essb_pc_evernote":[""],"essb_pc_myspace":[""],"essb_pc_mailru":[""],"essb_pc_viadeo":[""],"essb_pc_line":[""],"essb_pc_flipboard":[""],"essb_pc_comments":[""],"essb_pc_yummly":[""],"essb_pc_sms":[""],"essb_pc_viber":[""],"essb_pc_telegram":[""],"essb_pc_subscribe":[""],"essb_pc_skype":[""],"essb_pc_messenger":[""],"essb_pc_kakaotalk":[""],"essb_pc_share":[""],"essb_pc_livejournal":[""],"essb_pc_yammer":[""],"essb_pc_meetedgar":[""],"essb_pc_fintel":[""],"essb_pc_mix":[""],"essb_pc_instapaper":[""],"essb_pc_copy":[""],"_ht_kb_post_views_count":["13"],"_ht_kb_usefulness":["0"],"_ht_article_order_108":["25526"],"wp_last_modified_info":["September 13, 2022 @ 5:44 AM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"views":["11288"],"helpful":["13"],"unhelpful":["23"],"redirects":["13"],"rank_math_primary_docs_category":["108"],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["1151"],"rank_math_internal_links_processed":["1"],"_wplmi_last_modified":["2022-09-13 05:44:52"],"rank_math_seo_score":["15"],"pfd_related_docs":[""],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"57a2c7b564724b24d3e61fb1f2dc8512\";s:6:\"images\";a:1:{i:0;i:132871;}}"],"_trp_automatically_translated_slug_es_ES":["como-editar-el-estilo-css-en-el-tema-hijo"],"_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:6:{i:0;s:14:\"core\/paragraph\";i:1;s:12:\"core\/heading\";i:2;s:10:\"core\/image\";i:3;s:9:\"core\/list\";i:4;s:14:\"uagb\/container\";i:5;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:1;s:11:\"uag_version\";s:10:\"1776541451\";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":"Anjali","author_link":"https:\/\/git-staging.wpastra.com\/es\/author\/anjalic\/"},"uagb_comment_info":0,"uagb_excerpt":"If you want to add custom CSS to the theme you can add it to the child theme&#8217;s style.css Initially, you need to install and activate the&nbsp;Astra child theme. You can edit&nbsp;child theme&#8217;s style.css&nbsp; in following ways- Through WordPress Dashboard Step 1: Navigate to Appearance > Theme Editor. Step 2: Select Astra child theme to&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/25526"}],"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\/20"}],"replies":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/comments?post=25526"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/25526\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=25526"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=25526"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=25526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}