• johnatanasoff

    (@johnatanasoff)


    I am creating a 1 page theme site. I know some basic development.

    There is some text etc i want to align center and change some properties.
    What way you recommend for me to know which file contains the css or js to modify.

    What i am doing is searching all the files in the website folder with notepad++, for words or elements i get from the chrome tools inspect elements.
    But the particular text i want to align center i still wasn’t able to find which file is for that?

    I know the secure way is to customize additional CSS within the theme customizer or in the backend with a plugin such as “Simple Custom CSS”!

    Please let me know about this as it’s really important for me.

Viewing 3 replies - 1 through 3 (of 3 total)
  • It depends on the theme, you’ll have an easier time asking the theme author. What theme are you using?

    Filespit

    (@filespit)

    As Jakob says above, it depends on the theme. You should be able to identify the page template though, since the <body> tag has some classes that describes what template the current page is using, and from there you should be able to find the correct file.

    If all you want to do is edit some CSS you can do so with the Custom CSS option in the theme customizer, or with a plugin as you say. You should never edit the theme files however, since if you update the theme from the admin panel all your changes will be overwritten. There’s also the possibility of creating a child theme that has it’s own CSS file, which won’t affect the parent theme.

    Thread Starter johnatanasoff

    (@johnatanasoff)

    @jakept

    Onetone. I’l post in their forum!

    @filespit

    I’l check what you said about the <body> tag having classes that describe what template the current page is using, and from there able to find the correct file.

    As for editing the CSS, the back end notified me about not changing the CSS there, as i could break the site.

    Thanks guys!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Find which is right file to customize.’ is closed to new replies.