0
Welcome Guest! Login
0 items Join Now

SOLVED page class suffix with rt-block

  • SOLVED page class suffix with rt-block

    Posted 6 years 8 months ago
    • Hi,

      I´m using the osmosis theme.

      I try to change the padding of the rt-block. For that I want to use a page class suffix (nospace). I tried to use it like this:


      .nospace div.rt-main div.rt-inner-container div.rt-mainbody-wrapper rt-grid-12 div.rt-block {
      padding: 0px;
      }
      


      Thanks for help.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21555
    • Thanks: 3090
    • messin' with stuff

    Re: SOLVED page class suffix with rt-block

    Posted 6 years 8 months ago
    • missing the dot before rt-grid-12?

      Is this for an article or a module? If it's a module just give it the "nopaddingall" module suffix... whatever template you're using there's classes listed on the Demo's Module Variations Page
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
  • Re: SOLVED page class suffix with rt-block

    Posted 6 years 8 months ago
    • It´s for an article (page class suffix for the profile page).

      Even with the missing dot it doesn´t work.


      .nospace div.rt-main div.rt-inner-container div.rt-mainbody-wrapper .rt-grid-12 div.rt-block {
      padding: 0px;
      }
    • Last Edit: 6 years 8 months ago by Thomas Gerster.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21555
    • Thanks: 3090
    • messin' with stuff

    Re: SOLVED page class suffix with rt-block

    Posted 6 years 8 months ago
    • Post a link to that page please and I'll have a look

      .... I think rt-main is probably an ID... so it'd be #rt-main in the selector
    • Last Edit: 6 years 8 months ago by Matt.
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
  • Re: SOLVED page class suffix with rt-block

    Posted 6 years 8 months ago
    • Sorry for the delayed answer.

      I have the page on localhost. But here is a screenshot from your demopage. I need the padding with 0px as a page class suffix.

      This image is hidden for guests.
      Please log in or register to see it.
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 21555
    • Thanks: 3090
    • messin' with stuff

    Re: SOLVED page class suffix with rt-block

    Posted 6 years 8 months ago
    • target rt-mainbody-block directly... assuming "nospace" is your page class:
      .nospace div.rt-mainbody-block {
        padding: 0;
      }

      note: you need to inspect the <body> tag on your page to make sure your page class isn't really "-nospace"
    • Last Edit: 6 years 8 months ago by Matt.
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT :woohoo:
  • Re: SOLVED page class suffix with rt-block

    Posted 6 years 8 months ago
    • Perfect. Thank you.

Time to create page: 0.052 seconds