• Hi,

    Firstly i am not very good with codes sites etc so trying to understand allot of posts is baffling me so apologies now if i seem thick here.

    I have a custom theme and have followed instructions on creating the “sportpress” folder within my theme root with all the re-named files required using the page.php…but thats as far as i get what happens now is where im lost how do i view these files in a browser to see what has changed or what i can change etc sorry just don’t understand what i am supposed to do now
    I was hoping after following the theme-integration-guide process there would be another set of instructions on how to do things as it just ends and im stuck with a folder in my theme file and no idea what goes next

    Any pointers please would be greatly accepted
    what i am trying to do is neaten up my pages as they seem all over the place so need to know and understand what i am changing do get a page to look acceptable for viewing at the minute ive unlinked all page but the tables because they dont look nice enough out of line etc if you get what i mean SEE HERE
    thank you
    kev

    https://www.ads-software.com/plugins/sportspress/

Viewing 10 replies - 1 through 10 (of 10 total)
  • I had the same issue, I think its the CSS you want to look at changing.
    Try something like this as a starting point and it will put the info next to the player image in a box.

    .sp-template-details dl {
      overflow: hidden;
      background: #f4f4f4;
      border: 1px solid #e0e0e0;
      font-size: 14px;
      padding: 1em 15px 0;
      margin-bottom: 1.25em;
    }
    Thread Starter kev147

    (@kev147)

    Lovely i like that thank you, its the yellow bar and i would like to move above the stats box and somehow wanted to line the text up in the box (the code you gave me) so that it looks better and not all out of sink if you know what i mean
    i would like the option to be able to remove sidebar too on players and player lists
    How or where can i do this please anyone or any code they could share please, surely there is some example designs layouts for us to use ?

    thanks again kylerlawrence for reading and the code

    Thread Starter kev147

    (@kev147)

    This is a example of what i am trying to achieve HERE sorry for double post but really difficult to explain when i have no idea what im talking about
    thanks

    Plugin Author Brian

    (@brianmiyaji)

    @kev147 try this:

    .sp-player-details dd { margin-left: 0; }
    .sp-template-player-statistics { clear: both; }

    Thread Starter kev147

    (@kev147)

    Brian that is perfect thank you, a question where does one find all these .sp-files things is there a list of commands as such so i could add to see what they change etc trial and error sort of thing
    I can’t believe two very simple lines of code just did the trick thats had me baffled.

    again thanks

    Plugin Author Brian

    (@brianmiyaji)

    @kev147 Glad I could help! Custom CSS can be tricky as each theme has its own styling and SportsPress is designed in a way that it applies minimal styling to keep the original look and feel of the theme. Having a list of selectors would definitely be useful and I’ll keep that in mind for future documentation. For now, you could have a look at the default SportsPress stylesheet as a starting point: https://github.com/ThemeBoy/SportsPress/blob/master/assets/css/sportspress.css

    Thread Starter kev147

    (@kev147)

    Thanks, still means diddly to me lol ive been looking and looking but unless your familiar with css it is rocket science for sure.

    anyway i hope you don’t mind me asking for code help from time to time please you make things so simple for numptys like me and i want to make it better than last season for my viewers.
    Brian because i use sportpress for a none popular sport like football everything needs tweaks so apologizes for keep asking for help ive abandoned automated player stats and will manually add what i can. but i could do with some help with THIS LINK please i cant seem to uncheck them in the edit.

    many thanks

    Thread Starter kev147

    (@kev147)

    sorry for the double post edit has gone now after creating the https://sportspresspro.com/docs/theme-integration-guide/#custom-page-templates using the template-onecolumn.php file it hasn’t taken away my sidebar any ideas how i can remove this totally please
    thank you

    Plugin Author Brian

    (@brianmiyaji)

    @kev147 which page template did you create? You’ll need to make a copy of an existing template in your theme and rename it sportspress.php or move it to a folder called sportspress with the name of the template you’re replacing, for example single-player.php

    Thread Starter kev147

    (@kev147)

    @brian

    I have followed the steps from the guide creating a folder “sportpress” then using the template-onecolumn.php to create all of the other files mentioned in the guide see HERE and HERE please

    thanks

    [ No bumping please. ]

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Theme integration guide, im lost’ is closed to new replies.