Wrapper around text – dashboard

Accueil Forums Main plugin support Wrapper around text – dashboard

7 sujets de 21 à 27 (sur un total de 27)
  • Auteur
    Messages
  • #531325
    Thomas Lartaud
    Admin bbPress

    If the text is properly placed, this solution is okay.

    You now just need to style it using the actual wrappers, by adding some CSS, for instance, in your child theme style.css file or somewhere where your theme allows you to do that.

    body.customer-area-active .cuar-css-wrapper.cuar-content-container {
    padding: 30px;
    background: yellow;
    }
    

    Best regards.

    #531326
    Thomas Lartaud
    Admin bbPress

    If that’s not enough, you can still edit the global template used for rendering the page which is located at /customer-area/src/php/core-classes/templates/customer-page.template.php, by using the same recommendations for the templates explained in the posts above (don’t forget to correctly bump the version numbers in this case)

    Best regards.

    #531469
    ondraATH
    Participant

    Finally, I set padding: 0 11px with the main container and pushed the other of the ‘div’s back with margin: 0 -11px.
    I do not know if this is a good solution, but I cannot think of anything else and I need to solve this problem.

    Anyway, thank you for your time and willingness.

    #531680
    Thomas Lartaud
    Admin bbPress

    Hi,

    Yes, this is the proper solution. Maybe take care of the responsive (also try on smaller window size), you may probably need to re-adjust the -11px size on some screen sizes by using media queries.

    Regards.

    #531689
    Thomas Lartaud
    Admin bbPress

    Or you can even do this :

    <div class="my-page-header row">

    Regards.

    #532080
    ondraATH
    Participant
    <div class='my-page-header row'></div>

    Unfortunately, this ‘div’ is badly buried. Therefore, adding a class ‘row’ would not help.

    I will not edit the global template, I would not like to have problems elsewhere.

    #533288
    Thomas Lartaud
    Admin bbPress

    You are right!

    Regards.

7 sujets de 21 à 27 (sur un total de 27)
  • Vous devez être connecté pour répondre à ce sujet.