¿Cómo aumentar el ancho de mi Área Privada para que ocupe el 100%?

    • Susana Cordón
      Participant
      # il y a 1 mois et 2 semaines

       

      <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>Hola a todos,</span></span>

      <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>A ver si alguien me puede ayudar.</span></span>

      <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>Incorporé WWPCustomerArea como “área privada” para nuestros clientes. En el menú principal de la web se habilitó un botón de “Área Privada” que al hacer clic te redirige al escritorio del área privada. En mi caso, todo funciona bien; pero al acceder al área privada, la caja del contendor del área se ve muy corta de ancho, como a la mitad del ancho de la página web (66% ancho), y no sé como aumentar el ancho para que abarque más página (100 % ancho).</span></span>

      <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>No sé por qué se ve así de corto/pequeño. ¿Habrá algún tipo de incompatibilidad con el tema de WordPress?</span></span></span></span>

       

      <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>Gracias a todos de antemano.</span></span>

      <span style=”vertical-align: inherit;”><span style=”vertical-align: inherit;”>Susana.</span></span>

       

    • Thomas
      Maître des clés
      # il y a 1 mois et 2 semaines

      Hello,

      The Private Area will automatically fit the width of the parent container from your theme.

      This is not something to be edited through WPCA, but through your theme.

      However, do you actually see the same unexpected width when browsing the “My Files/My Pages” pages, and a single private file/page? WPCA is using, by default, page.php and single.php from your theme to respectively display those contents, but this behavior can be changed.


      Technically, you can use any template from your theme. Themes often include some full-width templates. so you can:

      • Copy page.php from your theme (or any other template like a full-width one) and paste that file to your child-theme root folder
      • Then rename that file to cuar.php

      Any page AND single private post from WPCA will now use the cuar.php file from your (child) theme. It would then be up to you tweak that template via CSS, make the content full-width, delete unused sidebars or page elements, etc.

      Regards.

      Want to help WP Customer Area? It only takes few seconds!
      Rate & review the plugin on WordPress.org 🙂

      • Susana Cordón
        Participant
        # il y a 1 mois et 2 semaines

        Hola Tomas,

        Le agradezco mucho la información. Probare a hacer eso a ver si lo consigo.

         

        Gracias y buen día.

        Susana.

Vous lisez 1 fil de discussion

You must be logged in to reply to this topic.