0
Welcome Guest! Login
0 items Join Now

SOLVED Generated CSS in Afterburner (Joomla3)

  • SOLVED Generated CSS in Afterburner (Joomla3)

    Posted 10 years 10 months ago
    • Hi,

      I'm looking to customize Afterburner to my personal needs. All is going well. I'm struggling though, with the navigation bar.
      In there, there's the padding of the .gf-menu.l1>li>.item is currently set to padding: 0 25px

      I would like to alter this padding value, but have no clue as where to find this.
      Who can help me out?

      Thanks,
      Jurgen.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED Generated CSS in Afterburner (Joomla3)

    Posted 10 years 10 months ago
  • Re: SOLVED Generated CSS in Afterburner (Joomla3)

    Posted 10 years 10 months ago
    • Hi Igor,

      thanks for pointing me in the right direction. Since LESS is new to me, I'll just dive into it. Looks great.

      So I figured out the code I need to override is located in /templates/rt_afterburner2/less/menu.less
      I thus created a file called menu-custom.less in the same location and it holds exactly 1 line: ul.gf-menu li a { padding: 0 13px; }

      unfortunately, the adaptation doesn't happen.

      Could you tell me where I went wrong?
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED Generated CSS in Afterburner (Joomla3)

    Posted 10 years 10 months ago
    • Try with this
      ul.gf-menu li a { padding: 0 13px !important; }
    • The following users have thanked you: Jurgentje

    • Check my services at: Mihha-Vision
  • Re: SOLVED Generated CSS in Afterburner (Joomla3)

    Posted 10 years 10 months ago
    • Thanks,

      It worked this way.

      Am I understanding this correctly that the -custom file is not loaded after the regular file but before it? The opposite would seem te make sense as it would then respect the cascading principle of CSS. Or am I naive?

Time to create page: 0.049 seconds