0
Welcome Guest! Login
0 items Join Now

Section - Css Classes and Tag Attributes

    • Timothy's Avatar
    • Timothy
    • Rocketeer
    • Posts: 97
    • Thanks: 1

    Section - Css Classes and Tag Attributes

    Posted 8 years 7 months ago
    • For some time now I have intended on learning what the "CSS Classes" and "Tag Attributes" fields can do for managing my template modificationsto sections.

      Yesterday, I sat down and took a couple of hours to Google and seach RT forums to figure it out and unfortunately I still find myself in a fog after much experimentation.

      At the 3:30 point in the video at https://www.youtube.com/watch?v=DN_U_W7LT_c it says, "You can also add tag elements, which is very simple to do." I think what would really help me is if I had an example of something added in those fields on someone's site. Of course I'd be equally happy to be pointed to a page showing that step too.

      For my experimenting I've been trying to change the background colour of a section (I do know how to customize css using custom.scss) and perhaps these fields can't be or aren't used do that.

      This is obviously a case of not knowing what I don't know so a nudge or shove in the right direction would be greatly appreciated!

      Tim

    • Tim Davis

      Basic Joomla Tutorials Channel
      https://www.youtube.com/user/basicjoomla

      Cybersalt Consulting and Communications
      http://www.cybersalt.com
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: Section - Css Classes and Tag Attributes

    Posted 8 years 7 months ago
    • Timothy's Avatar
    • Timothy
    • Rocketeer
    • Posts: 97
    • Thanks: 1

    Re: Section - Css Classes and Tag Attributes

    Posted 8 years 7 months ago
    • Thank you, that helped me grasp the concept of what goes there. A number of my tests finally worked, plus I found out the hard way that you can use the "style" only once and put all parameters on the same line.

      I am guessing not all html tags work in the tag attributes. For instance I tired the "a" tag and a color change to switch up the link color for a section but found that didn't work. Am I correct or did I miss something in my trial.

      Also, for those maybe reading this for info on what goes in the "CSS Classes" field, that's a place to enter the default Gantry classes ( http://docs.gantry.org/gantry5/tutorials/utility-classes ) or classes I set up in the custom css file correct - right?

      Tim

    • Tim Davis

      Basic Joomla Tutorials Channel
      https://www.youtube.com/user/basicjoomla

      Cybersalt Consulting and Communications
      http://www.cybersalt.com
    • Damir's Avatar
    • Damir
    • Preeminent Rocketeer
    • Posts: 22450
    • Thanks: 2679
    • Web Developer

    Re: Section - Css Classes and Tag Attributes

    Posted 8 years 7 months ago

Time to create page: 0.073 seconds