• Resolved fimo66

    (@fimo66)


    Hi again,
    if i have arond 20 matches that i picked as “golden games” do i have to edit every singel match with my preferred CSS style ?

    Or are you able to create a plugin add on where it would be possible to indicate on the same page where you pick which matches to be a golden game a highlighted golden ball
    icon, the same icon whicj is being used to a users when he himself picks a joker match if i dont use this Golden Games addon

    would that be possible to do for you ?

    and if it cant be done, then how can a “newbee” like me ??
    make these changes, im not 100% sure how to do it, understand this… sry for this..

    ….You can use CSS to style these matches. I prefer to use the DevTools in Chrome to inspect the rows and add some styling. When you are satisfied with the result, just copy the CSS code from the inspector to a child theme, the custom CSS field of your theme or use a plugin like “Scripts n Styles” to add custom CSS.”

    “Matches that are labeled as golden game can be styled in the frontend with the CSS class fp-golden-game.”

    • This topic was modified 5 years, 6 months ago by fimo66.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author AntoineH

    (@antoineh)

    You don’t need to edit every match that you picked as golded game. After you selected the matches in the admin, you can simply add some styling to your blog to highlight every row that was selected.

    Example:

    tr.fp-golden-game {
        background-color: gold;
    }

    If you want to do something more fancy, like adding images, you can search for examples online and construct your own CSS rule.

    Thread Starter fimo66

    (@fimo66)

    Hi
    Thanks for this answer,this example
    but the last stupid question from me ??

    ….tr.fp-golden-game {
    background-color: gold;
    }

    In which file do i insert this Example into ?
    in the football-pool-golden-games.php ?

    Plugin Author AntoineH

    (@antoineh)

    No, never insert code in any of the plugin’s files ??
    WordPress will overwrite all your changes when you do an update of the plugin.

    Most themes have a customize option (menu: Appearance ? Customize) with the option to add additional CSS. Use that field to add the CSS example.
    If your theme does not support to add CSS, then you can use a plugin that allows to enter custom CSS. E.g. Scripts n Styles.

    Thread Starter fimo66

    (@fimo66)

    thanks i will try….

    Thread Starter fimo66

    (@fimo66)

    Just a quick feedback….
    this solution…” (menu: Appearance ? Customize) with the option to add additional CSS.”
    tr.fp-golden-game {
    background-color: gold;
    }

    Solved the above question, perfect…

    Once again thank you for this plugin + support ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Golden Games (v2.5 and up) CSS Style ?’ is closed to new replies.