We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27160
    • 50 Posts
    Where are the style sheets for getResources and getPage? I want to change the "previous -- next" list from vertical to horizontal. I also prefer to have no dots. I have this in my site style sheet, but these chunks don't read my stylesheets.

    Alternatively, if there is a way to make the snippets read my stylesheets, that will work, too.

    This question has been answered by nir-z. See the first response.

      Linda Jenkinson
      • 36996
      • 211 Posts
        • 27160
        • 50 Posts
        I have looked over the linked post and extensively read the getPage documentation. I am completely lost.

        The code on my page is
        <div class="paging">  
        <ul class="pageList">  
          <li><a class="active" href="http://shyflower.com/">1</a></li>
        <li><a href="?page=2">2</a></li>
        <li><a href="?page=3">3</a></li>
        <li><a href="?page=4">4</a></li><li class="control"><a href="?page=2">>></a></li><li class="control"><a href="?page=4">Last</a></li>  
        </ul>  
        </div>
        


        and really all I want to do is to make the ul li display inline and the ul to have a "list-style-type:none"

        However, I do not see an element anywhere in the documentation or the snippet properties that references the ul class "pageList" and when I put it into my own style sheet, it doesn't pick it up.
          Linda Jenkinson
          • 44580
          • 189 Posts
          I had the same issue (with Articles, but it is the same principle). So I didn't forget what I did, I documented it as part of the bigger process of setting up Articles. You should be able to extract what you need from here: http://rgissing.com/blog/modx-more-on-styling-articles/ (scroll down to the heading: Styling pagination). Hope this helps. Robert.
            • 36996
            • 211 Posts
            I looked at your page and I don't see any style rules for the paging elements.
            Where do you put the styles for that?
              • 27160
              • 50 Posts
              Quote from: gissirob at Sep 30, 2014, 08:08 PM
              I had the same issue (with Articles, but it is the same principle). So I didn't forget what I did, I documented it as part of the bigger process of setting up Articles. You should be able to extract what you need from here: http://rgissing.com/blog/modx-more-on-styling-articles/ (scroll down to the heading: Styling pagination). Hope this helps. Robert.

              Thanks! Got it bookmarked. I'll be back in the mines tomorrow! laugh

              I didn't use articles because I had a hard time getting it to work in a previous blog, but I see the pagination section is similar. One thing I believe I am missing is a number of the tpl chunks. *sigh* Too tired now. I'll get back to it tomorrow. [ed. note: shyflower last edited this post 12 years ago.]
                Linda Jenkinson
                • 27160
                • 50 Posts
                Quote from: nir-z at Oct 01, 2014, 12:49 AM
                I looked at your page and I don't see any style rules for the paging elements.
                Where do you put the styles for that?

                In the stylesheet, but right now I took them all out since they weren't working anyway. It will save having doubles when and if I find our how to do it.
                  Linda Jenkinson
                • discuss.answer
                  • 36996
                  • 211 Posts
                  It's the same as styling anything, just edit one of your css files.
                  Maybe you had to clear the cache to see the changes?
                    • 27160
                    • 50 Posts
                    Quote from: nir-z at Oct 01, 2014, 01:03 AM
                    It's the same as styling anything, just edit one of your css files.
                    Maybe you had to clear the cache to see the changes?

                    You know how sometimes you can work on something for hours and it's like you are in a battle. That's what happened to me. Finally, I gave up and went to bed. This morning, I refreshed my browser and my manager cache and it worked like a charm.The weird thing is that it isn't my first revo blog. I did it on three other blogs I had with no problem. Go figure!
                    Anyway, thanks to everyone for helping.
                    I still have the link from gissirob bookmarked for future reference. Nice tutorial there. I may start at part one and go through the whole thing!
                      Linda Jenkinson
                      • 36996
                      • 211 Posts
                      Happens to me all the time wink