WordPress.org

Ready to get started?Download WordPress

Forums

SportsPress - All in One Sports Management
[resolved] Code needed for text centre (6 posts)

  1. kev147
    Member
    Posted 1 month ago #

    Hi,

    when you create a league table the name of the table appears above the table and to the left side as we look at it
    Can you tell me the centre text code for the text please also using the new feature shortcode menu on a page i selected league table and although i choose to show to 3 teams it still loaded the full league? and again if you dont mind a code for centring the text for "click to view full table"

    thank you
    Kev

    https://wordpress.org/plugins/sportspress/

  2. ThemeBoy
    Member
    Plugin Author

    Posted 1 month ago #

    Hi Kev,

    Thanks for letting us know. You're right, the "number" parameter in auto-generated shortcodes were not being applied. We've just fixed this, so updating to version 1.2.1 should resolve this issue.

    We'll look into adding an option to hide the table title in the next update. Please see below for custom CSS that will center the "View full table" text:

    /* Applies to all tables */
    sp-view-all-link { text-align: center; }
    
    /* Applies to league tables only */
    sp-league-table-link { text-align: center; }

    http://wordpress.org/plugins/sportspress/changelog/

  3. kev147
    Member
    Posted 1 month ago #

    Thanks Themeboy but although ive added the code above i don't see any changes could you please check that at your end when you have the time.

    I don't want to start a thread for this but a question if i may, are we ok carrying on posting asks here in this support area nothing im asking is of emergency, unless you prefer me to? just don't want to open a support ticket at your place just for some code or a numb question like i always have lol if it was urgent then i would for sure?

    many thanks for your support as always
    Kev

  4. ThemeBoy
    Member
    Plugin Author

    Posted 1 month ago #

    Ah, forgot the dot before each selector. Try this:

    /* Applies to all tables */
    .sp-view-all-link { text-align: center; }
    
    /* Applies to league tables only */
    .sp-league-table-link { text-align: center; }

    We're transitioning to email support only, so it is best to submit any new tickets via our support site.

  5. kev147
    Member
    Posted 1 month ago #

    perfect and understood thanks

  6. ThemeBoy
    Member
    Plugin Author

    Posted 1 month ago #

    Great :)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.