• Resolved seagull949

    (@seagull949)


    Hi, I don’t know much about CSS or editing wordpress files in general but I used Chrome’s Inspect Element to find the following element on the /wp-login.php page of my website:

    <link rel=”stylesheet” id=”custom-login-css” href=”https://mywebsite.com/wp-content/themes/magicraft/library/css/style-login.css&#8221; type=”text/css” media=”all”>

    I need to change this line, but I can’t seem to find which file it’s located in. (It doesn’t seem to be in wp-login.php, which seemed like the most obvious answer)

    Again, I don’t know much about this so forgive me if this doesn’t make sense or I’m using the wrong terms, but if somebody knows how I can either use Inspect Element to find the file it’s located in or knows where it is, that would be a great help. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The theme you’re using will be including that file dynamically through one of its function files.

    It will be somewhere in /wp-content/themes/magicraft/ in a file like functions.php or in a directory /inc/ or something like this.

    This is a theme specific include so it’s difficult to know without trawling specifically through that theme

    Thread Starter seagull949

    (@seagull949)

    I found what I needed in the theme’s functions.php like you said.
    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Where is this line of code?’ is closed to new replies.