Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Header configuration & styling (http://forum.bytesforall.com/forumdisplay.php?f=15)
-   -   How to interpret file name in Firebug (http://forum.bytesforall.com/showthread.php?t=22671)

dthompson Jul 23, 2014 11:04 PM

How to interpret file name in Firebug
Hi, folks, I have previous WP experience, but I'm new to Atahualpa.

I used to looking at code through Fire bug, using the Style tab on the right side to find the CSS for given line of HTML.


With Atahualpa, I'm getting numbers instead of filenames. In this case, [domain] #5. How do I know where that is?



juggledad Jul 24, 2014 03:46 AM


To know where the CSS is set you should first look thru and get familiar with all the theme options. Next you will need to look at the CSS Selector then edit the theme file css.php and search for that selector. In there you will find things like
HTML Code:

body {
        text-align: center;  /* centering the page container,
                                                        text-align will be reset to left
                                                        inside the container */
        margin: 0;
        padding: 0;
        <?php echo $bfa_ata['body_style']; ?>

the line
HTML Code:

        <?php echo $bfa_ata['body_style']; ?>
points you to the body style options at ATO->Body, Text & Links->Body Style

while it may seem confusing at first, I think Flynn (the developer) did an elegant job.

don't forget that you can always add CSS in the ATO->Add HTML/CSS Inserts->CSS Inserts option which will be at the end of the CSS and override any options you don't (or can't) change in the regular options.

p.s. there is no CSS in the default theme options for HTML so unless you added it, it is probably from a plugin.

All times are GMT -6. The time now is 08:19 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.