0
Welcome Guest! Login
0 items Join Now

RokGallery change font size

  • RokGallery change font size

    Posted 9 years 5 months ago
    • Hello
      I may be missing something completely obvious but I'm going to ask anyway!

      I would like to make the text that shows with my images in rokgalleries smaller. It's way too big at the moment.
      Is there somewhere to change it? Or is it a custom css?

      If it's custom could you please stear me in the right direction

      Thank You
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: RokGallery change font size

    Posted 9 years 5 months ago
    • Could you please post a URL to your site (this can be done in the secure area tab if you prefer) so we can look for you. Without a link to page where the problem is on your site it is quite hard for us to provide the best solution due to so many variables. We try to provide file names and line numbers for code changes and if changes have already been made then our advice may be incorrect.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: RokGallery change font size

    Posted 9 years 5 months ago
    • This message contains only secure information that is visible to MrT, moderators and administrators
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13484
    • Web Designer/Developer

    Re: RokGallery change font size

    Posted 9 years 5 months ago
    • Learn to use either, Firebug in Firefox, or Chrome Developer Tools in Chrome, they will save you hours on things like this and they're very easy to use.

      Use this code...
      h1.rg-scr-title.rg-scr-title {
          font-size: 1.4em;
          line-height: 1.3em;
          margin: 0;
          padding: 0;
      }
      h1.rg-scr-title.rg-scr-title span {
          margin-left: 0;
          margin-right: 10px;
      }

      To create a custom CSS compatible with Gantry 5 please read this http://docs.gantry.org/gantry5/tutorials/adding-a-custom-style-sheet .

      Remember to recompile CSS from base outline too.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.

Time to create page: 0.064 seconds