0
Welcome Guest! Login
0 items Join Now

firebug question - where IS this file ?

    • ellare's Avatar
    • ellare
    • Sr. Rocketeer
    • Posts: 244
    • Thanks: 0

    firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • I use firebug quite often to help with CSS formatting issues with RT templates.

      BUT I can't figure out which file this is referring to....

      I have attached the screenshot with the area circled on the lower right.

      This image is hidden for guests.
      Please log in or register to see it.


      Where is this?!?

      I went to templates/zephyr/css/template.css and changed what I needed but it’s not working

      So… where IS this file? It’s not set in the template index.php file either

      Thanks!
      LrG
    • Last Edit: 14 years 2 months ago by ellare.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • I see no screenshot.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • ellare's Avatar
    • ellare
    • Sr. Rocketeer
    • Posts: 244
    • Thanks: 0

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • yes, i realized that after it posted... there now :)
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • Where is the screenshot? :-)
      But probably you are talking about css-code that gets added into the head-tag based on the template-settings. So change the template settings to change that or override the css rules with new rules in the template.css with a higher css-specificity.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • that would be

      html body a#rt-logo {your rule}

      in your case
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • Probably you have enabled the auto-height feature for the logo in the template-settings.
      To get rid of that rule disable that feature.
    • ellare's Avatar
    • ellare
    • Sr. Rocketeer
    • Posts: 244
    • Thanks: 0

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • maybe I wasn't clear enough...

      in any case, where Firebug is stating that the css code is in "directory" (Line xxx) - instead of something specific like "template.css (Line 456)" -how can I tell where that file containing that css really is?

      in this specific site - i have the new template site installed in a directory called "newsite". So Firebug is telling me that the body #rt-logo code is in "newsite (line 73)" -- there is no such css file called newsite.css

      so how do REALLy know where to edit the body #rt-logo stuff. ?? or ANY code that is supposed in "newsite (line xxx)" ?

      i tried editing template.css - no luck there.

      is this dynamically created via the Gantry in Template Manager settings - and is it not editable but only with the parameters of the template settings?

      so then as Henning suggested - override these dynamically created settings by writing the actual rules into the template.css -- -is that right ?
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • It's in the head tag of you rendered page as inline css ... just view the html source code of the page. That specific code is coming from the auto height feature.
      It gets the height of the logo.png and adds that dynamically to a css rule wich is added to the head-tag.
    • ellare's Avatar
    • ellare
    • Sr. Rocketeer
    • Posts: 244
    • Thanks: 0

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • ok i get that.

      but I'm also asking the question in general and not just in this particular #rt-logo case.

      But I think I understand now that the Gantry renders this code in the head tag as inline css and if I want to 'override' this - I need to write specific rules in the template.css to address the classes and ID's I'm looking to edit.

      Is that correct ?

      Thanks again for all your help !

      LrG
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: firebug question - where IS this file ?

    Posted 14 years 2 months ago
    • I think the logo stuff is generated by this:

      /components/com_gantry/features/logo.php

      "in any case, where Firebug is stating that the css code is in "directory" (Line xxx) - instead of something specific like "template.css (Line 456)" -how can I tell where that file containing that css really is?"

      That's a very good question. I wish FB had a feature to check this :)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG

Time to create page: 0.065 seconds