Problems with template css

Hello.

how can i change the appearance of the buttons “create a campaign” and “cancel”. they cannot be found in the dashboard templates and other css classes are used for these two buttons.

https://cloud.suelsen.de/index.php/s/mjk5t5cpq6el3kb

https://cloud.suelsen.de/index.php/s/rjnwe2sfkqt37nz

tia

guido


Comments

8 responses to “Problems with template css”

  1. Hello Eugene.

    Thank you for your help. I know how to create child themes and add custom CSS. As you can see from the screenshot, the other buttons have all been adapted. Unfortunately, your CSS shows no effect either. No matter whether in the custom CSS of the page, style.css, or dashboard.php template. Nothing changes. I am overlooking something and slowly despairing.

    TIA

    Guido

    1. Hello Eugene.

      Work as it should! Copied your code for testing. After I put the double quotation marks against single quotation marks, it goes now. Many Thanks!

      Guido

      1. Eugen Bleck Avatar
        Eugen Bleck

        Hi Guido,

        Thank you for the feedback. I am glad I could help.

        Kindest regards,
        Eugen.

    2. Good morning Eugene.

      Guess my problem lies here:

      Eine Kampagne erstellen

      The title attribute is translated. Where in the templates is “Create a new campaign” added?

      1. Eugen Bleck Avatar
        Eugen Bleck

        Hi Guido,

        Please could you share the logins to the site and the link once more so I can take a look for you?

        The link currently isn’t working.
        https://xxx.xxxxxxx/pl/obszar-partnerski/?affiliates-dashboard-section=campaigns&per_page=20&orderby=name&order=ASC&management=1&affiliate_id=4&action=create-campaign&campaign-table-nonce=4160f8d547

        Kindest regards,
        Eugen.

  2. Eugen Bleck Avatar
    Eugen Bleck

    Hi there Guido,

    First off, I must apologize for the delayed response to your inquiry. Please forgive me.

    I trust you are feeling awesome today and that the new week starts with an amazing promise.

    Thank you so much for being a valued customer of Affiliates and its extensions.

    Please could you share the screenshots one more time as they seem to have expired/or deleted.

    I remain super eager to have this resolved for you.

    While waiting for the screenshots, I wish you a very fine and productive day ahead.

    STAY SAFE!
    Kindest regards,
    Eugen.

      1. Eugen Bleck Avatar
        Eugen Bleck

        Hi Guido,

        Thank you for sharing these screenshots one more time.

        I trust you are doing great!

        You would need to apply custom CSS rules in order to style those buttons. You can either do this by means of a child theme or by simply using the theme customizer.

        Relevant resource:
        * How to add CSS by means of a child theme
        * Add by means of CSS theme Customizer: Navigate to your WordPress admin dashboard, then Appearance -> Customize -> Additional CSS then add the following CSS rules.

        I’ve gone ahead to help you with the CSS required. The first CSS rule is for the cancel button and the second is for the Create Campaign button.
        You can read more on CSS HERE.

        .dashboard-section-campaigns a[title=”Cancel this action”] {
        background: red;
        padding: 11px;
        display: inline-block;
        text-decoration: none;
        color: #fff;
        border-radius: 5px;
        }

        .dashboard-section-campaigns a[title=”Create a new campaign”] {
        background-color: #1641b4;
        color: #fff;
        text-decoration: none;
        padding: 15px;
        border-radius: 5px;
        }

        I wish you a very fine and productive day ahead.
        Warm regards,
        Eugen.

Share