0
Welcome Guest! Login
0 items Join Now

SOLVED How to add Background attribute to all Section Styles?

    • Tony's Avatar
    • Tony
    • Newbie
    • Posts: 6
    • Thanks: 0

    SOLVED How to add Background attribute to all Section Styles?

    Posted 8 years 7 months ago
    • Hello everybody.

      First of all Gantry 5 gets my thumbs up.

      I would like to ask about the template Styles section and how I can add the "Background" attribute to all 15 "Section Styles" in Salient? Is this posible for me to do? (with little programming skills).

      Preferably is there a chance of creating a simple blank template with the 15 or so "Section Styles" with all having the background attribute? So its a bare bones template with the chance to customise more indepth as the Hydrogen template has not a lot of positions and less Particles compared to Salient.

      I am not a template or theme creator, I just want the freedom to place everything I want anywhere I like.

      Sorry for all the questions and hope I make sence.

      Many Thanks

      Tony.
    • Last Edit: 8 years 7 months ago by Tony.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED How to add Background attribute to all Section Styles?

    Posted 8 years 7 months ago
    • It would be far easier to just add the backgrounds that you want with a little custom CSS rather than trying to change the template itself.

      Tell me the image you want to use and where you want to use it and I'll help with the CSS.

      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.
    • Tony's Avatar
    • Tony
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: SOLVED How to add Background attribute to all Section Styles?

    Posted 8 years 7 months ago
    • Hello Mark,

      Salient does not have the background attribute for "Navigation", so how would I go about that?

      I'm ok at modifying css to make it look how I want but writing it from scratch I'm a dummy.

      Thanks, Tony.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED How to add Background attribute to all Section Styles?

    Posted 8 years 7 months ago
    • ok you didn't tell me the image location so...
      #g-navigation {
          background-image: url("yourimageurlgoeshere");
          background-repeat: no-repeat;
          background-size: cover;
      }

      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.
    • The following users have thanked you: Tony

    • 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.
    • Tony's Avatar
    • Tony
    • Newbie
    • Posts: 6
    • Thanks: 0

    Re: SOLVED How to add Background attribute to all Section Styles?

    Posted 8 years 7 months ago
    • Thank your Mark,

      That was far easier than I thought. If I thought about it a little hareder I would have got there.

      Many Thanks

      Tony.
    • Last Edit: 8 years 7 months ago by Tony.

Time to create page: 0.038 seconds