Schedule slider

  • This topic has 7 replies, 2 voices, and was last updated 9 years ago by Mark.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2958

    My slider has the correct information, however, there is a black border on the left right and bottom that blocks part of the third game showing. There is also a gray border around the outside which you can see to the right of the box.

    I would like it to appear as the Cal football slider that you show with my team colors.

    I’m on WordPress 4.2.4 with FootballSite theme. MSTW Schedules & Scoreboards version 1.3.

    The site is: http://www.legacyunitedfc.com/

    Let me know if you need additional information.

    #2960
    Mark
    Keymaster

      Hi danwroe,
      Sorry for the delayed response. It appears that your page template simply does not provide enough space to fit a slider that is 3 games wide. Game blocks on sliders have a fixed width of 187px. A 3 game slider needs 571px and your containing element is 514px wide. As a first step try a two game slider using the

      games_to_show=2

      argument in your slider shortcode.

      Let me know what happens.

      -Mark

      #2965

      Look at it now, it’s still cutting off the side:

      Legacy United FC

      #2987
      Mark
      Keymaster

        Hey danwroe,
        Sorry again for the delayed response. I’ve been looking a it, and this one was a bit tricksy. Turns out that the theme has a .box selector that’s colliding with the plugin’s .box selector. So add the following rule to the plugin’s stylesheet:

        div.box.box_legacy-united-fc-beat-the-heat-2015 {
            padding: 0;
        }
        

        Let me know how that goes for you.

        -Mark

        #2988

        I added that and no change. I did notice at the top of the page for the plugin’s style sheet it says this:

        Editing mstw-schedules-scoreboards/css/mstw-ss-styles.css (inactive)

        #2989
        Mark
        Keymaster

          danrwroe,
          I added that rule in the inspector. It will work in the stylesheet as well. You can also try this one, just in case:

          .ss-slider .box.box_legacy-united-fc-beat-the-heat-2015 {
              padding: 0;
          }
          

          I have no clue what this message is or where exactly you are seeing it.

          Editing mstw-schedules-scoreboards/css/mstw-ss-styles.css (inactive)

          BUT where did you change the stylesheet? In the plugin’s CSS directory? Or did you create a custom stylesheet in your theme/child theme’s main directory? If there’s a (correctly named) custom stylesheet in the theme directory, it is loaded later than the stylesheet in the plugin’s CSS directory. You might want to review this man page.

          -Mark

          #3005

          That worked, thanks. I’ll email you a screen shot so you can see where the message shows.

          #3041
          Mark
          Keymaster

            Cool. We’ll consider this one resolved.

          Viewing 8 posts - 1 through 8 (of 8 total)
          • You must be logged in to reply to this topic.