Formating slider excerpt

Homepage Community Forums Epik Theme Support Formating slider excerpt

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #13817
    HiNooril
    Customer

      I’d like to remove the blank line at the end of each exceprt, and I’d like to have formatted text in the slider (I’m using the responsive slider).
      I’d like to choose the format, and perhaps be different for each slide. Any ideas are appreciated (http://newlilypad.wpengine.com/)

      #13836
      Eric
      Customer

        Hi, I’m not seeing the line you’re referring to?

        Or are you talking about the border around the text area?


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #13837
        Wes
        Moderator

          @HiNooril you can change the format of the text by adding this to your style.css file –

          .slide-excerpt-border p {
          	font-size: 18px;
          }

          This should override the plugin’s css. You can add font-family and then the font that you want to use, and you can change the size of the text, etc with the above code. If it doesn’t show up at first try adding !important at the end like this –

          .slide-excerpt-border p {
          	font-size: 18px !important;
          }
          #13842
          HiNooril
          Customer

            Hi Wes – thanks!

            I would like some words to be bold, some to be italic, some to be 16pt., etc., based on the unique sentence for the unique slide.
            I have chosen to include full text (vs. 150 word excerpt) to be included in the excerpt section on the slider.
            It strips out all formatting along the way.
            Is there a way to NOT remove all the formatting OR a way to add it in, word by word?

            Much appreciated.

            #13844
            HiNooril
            Customer

              P.S. – I have this now, and some of it is making a difference, and some (like font size) is not — for that reason
              I tried font size in both places.
              .slide-excerpt {
              margin: 10px 65px 60px !important;
              width: 22% !important;
              opacity: .5 !important;
              font-size: 28 !important;}

              .slide-excerpt-border p {
              font-size: 28 !important;
              font-weight: 900 !important;
              line-height: 1.5;
              font-color: #000000 !important;
              }

              #13845
              HiNooril
              Customer

                P.S. – by blank line, I mean “new line” that you’d get with <p> or <br> – you can see it following the last piece of text inside the excerpt box.

                #13859
                Wes
                Moderator

                  “Is there a way to NOT remove all the formatting OR a way to add it in, word by word?”

                  Unfortunately there isn’t a way to do that with this particular slider due to it’s limitations. But you can add some css to adjust how everything looks as a whole. Since this particular slider doesn’t have that many options, it’s not yet possible to control the format of each word/paragraph of the slider text separately.

                  Looking at your code above I can see that you left the px part out of the font-size. It should look like this –

                  .slide-excerpt {
                      margin: 10px 65px 60px !important;
                      width: 22% !important;
                      opacity: .5 !important;
                      font-size: 28px !important;}
                  
                  .slide-excerpt-border p {
                      font-size: 28px !important;
                      font-weight: 900 !important;
                      line-height: 1.5;
                      font-color: #000000 !important;
                  }

                  You also have font-color which should be color instead –

                  color: #000000 !important;

                  Making those adjustments should fix those issues.

                  #13865
                  HiNooril
                  Customer

                    Hi – Thanks!
                    That looks a bit more tidy now. I appreciate the input!

                    #13867
                    Wes
                    Moderator

                      You’re Welcome!

                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • The topic ‘Formating slider excerpt’ is closed to new replies.