Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #767514

    Hello,

    how can i find inside theme the file (PHP or JS) no CSS, when i inspect an element e.g. on Google Chrome. For example i inspect a class and i want to find where is save as (in which folder and in which file) on the theme.

    Take a look to the image. http://imgur.com/a/Hf1Jr

    Thank you.

    #768089

    Hey Designweb,

    Can you please give us a link to the page, we need more context.

    Best regards,
    Victoria

    #768714

    Hey Victoria,

    in that page * inspect element CATEGORIES, you see the **<a href="#" data-filter ...> and below that element has other span. In which folder and file can i find that elements? How can see where is that file, where i inspect an element on my Google Chrome browser?

    Thank you

    #770996

    Hello,

    do you have any idea?

    Thnak you

    #771154

    Hi,

    Please go to Enfold/config-templatebuilder/avia-shortcodes/portfolio.php file and find following line

    
    					$output .= 		'<a href="#" data-filter="'.$category->category_nicename.'_sort" class="'.$category->category_nicename.'_sort_button" ><span class="inner_sort_button">';

    Please consider using a child theme – http://kriesi.at/documentation/enfold/using-a-child-theme/ and refer to this post – http://kriesi.at/documentation/enfold/add-new-or-replace-advanced-layout-builder-elements-from-child-theme/

    Best regards,
    Yigit

    #771612

    Hello Yigit,

    thank you for your help, but i don’t want that. I want to find file name (PHP or JS), not CSS from Google Chrome inspect element or other browser developer tools.
    Is that possible to do?

    Thank you

    #771673

    Hi,

    You can search for the CSS class or ID in theme files to find correct files. As i mentioned above, the one you are looking for is located in Enfold/config-templatebuilder/avia-shortcodes/portfolio.php

    If that is not what you meant, please elaborate as i am still not so sure if we are on the same page or not :)

    Best regards,
    Yigit

    #771692

    Hello Yigit,

    can you find the php page from the Google Chrome Browser on below sample?

    in that page * inspect element CATEGORIES, you see the **<a href="#" data-filter ...> and below that element has other span. In which folder and file can i find that elements? How can see where is that file, where i inspect an element on my Google Chrome browser?

    If you inspect the element id or class, where do you see the php page on browser?

    I don’t want to tell me the file name of php page, i want to find that on my own in my browser. Is that possible and how?

    Thank you very much for your time

    #771696

    Hi,

    You cannot find php file in your browser. Since “categories_sort_button” is a variable that changes depending on your category, you cannot find the file by searching it on theme files as well. However, there is “inner_sort_button” and you can search it on enfold theme folder to find files – http://i.imgur.com/bASIzkw.png

    Best regards,
    Yigit

    #771775

    Hello Yigit,

    you are great! This is the answer i wanted to know.

    Thank you very much.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How to find id or class in which file associated on WordPress Theme’ is closed to new replies.