0
Welcome Guest! Login
0 items Join Now

Transparent background for a single article???

  • Transparent background for a single article???

    Posted 11 years 4 months ago
    • Hey all,

      I'm nearly complete my new site using the Spectral theme and have encountered just one last tweak before it goes live.

      There is a single article which needs to be transparent, not white. I have searched the board and elsewhere, and all topics that I have run into have offered a solution for people wanting ALL article backgrounds to show as transparent. I just need this one article in particular to be transparent.

      Would anyone be able to offer me a quick solution to this? I would be extremely grateful. Thanks.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Transparent background for a single article???

    Posted 11 years 4 months ago
    • Is this site online? If so, please provide the URL to the issue.
      :)
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Transparent background for a single article???

    Posted 11 years 4 months ago
    • thankf ro the log in info. You can create a file using a simple text editor for custom css and name it using this format: templatefolder-custom.css (e.g., rt_spectral-custom.css). For this issue add this to the custom CSS file
      .menu-samples #rt-mainbody {background: transparent;}
      More Info here: www.gantry-framework.org/documentation/j...custom_stylesheet.md
  • Re: Transparent background for a single article???

    Posted 11 years 4 months ago
    • I am pretty green when it comes to css and coding in general. With that said, I have a couple green questions for you:

      - The css code that provided.... can that be copy and pasted into notepad as is, without any additional code, then uploaded?
      - Would I place the css in the CSS folder, found within the Gantry Folder?

      :shock:
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Transparent background for a single article???

    Posted 11 years 4 months ago
    • yes you can copy and past is but first click the Line Number on/off link above the css so you do not cope that stuff. or just copy this:
      .menu-samples #rt-mainbody {background: transparent;}

      place it in this location: <root joomla>/templates/$TEMPLATE_NAME/css/

      where $TEMPLATE_NAME = whatever your template folder is.

Time to create page: 0.074 seconds