• Resolved reaser

    (@reaser)


    I have a player profile created with Metrics Added.
    Where can I change how this is displayed. I’d also like to Bold the Metrics headings. Am I missing settings somewhere?

    The current layout is:
    Position
    Defense
    City
    Philadelphia, PA
    Height
    6’0″

    I’d like for it to display:
    Position: Defense
    City: Philadelphia, PA
    Height: 6’0″

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter reaser

    (@reaser)

    Okay I figured this out with some help from some other posts about this same thing and also using the github page very, very helpful. This was easily accomplished with some custom CSS.

    For anyone that comes accross this search here is the css I used:
    Sportspress>Settings>General Tab
    This worked for what I wanted on my theme.

    .sp-template-details dl {
      overflow: hidden;
      background: #f4f4f4;
      border: 1px solid #e0e0e0;
      font-size: 12px;
      padding: 1em 15px 0;
      margin-bottom: 1.25em;
    }
    
    .sp-template-details dt {
            font-weight: bold;
    	width: 12%;
    	margin: 0 0 1em;
    	float: left;
    	clear: left;
    }
    
    .sp-template-details dd {
            font-weight: normal;
    	overflow: hidden;
    	margin: 0 0 1em 15%;
    Plugin Author Brian

    (@brianmiyaji)

    @reaser glad to hear that, and thank you for sharing your code! I’m sure your solution will help others in the future 🙂

    Thankyou for sharing i used this part for the bold

    .sp-template-details dt {
    font-weight: bold;
    width: 12%;
    clear: left;
    }

    the RESULT

    cheers pal

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Player Profile’ is closed to new replies.