• Hi,

    I am working to build my portfolio site at:

    https://www.rydergoodwin.com/wordpress/

    Below the slideshow at the top there is some text “Visual experience + communication”

    I want to style this text. I’ve written the style in my custom.css file, but I don’t know where to find the code for my text so I can apply the css style. I could maybe do it through my theme template builder and I’ve tried that too, but I would rather learn how to edit it directly in the code.

    Any help would be appreciated. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You can use the function “aa ” to register your css file to your site by the way:

    add_action('wp_head',"register_styles",1);
    function register_styles(){
    wp_enqueue_script("script id",url script);
    }

    ” but I don’t know where to find the code for my text so I can apply the css style.”

    Use Mozilla Firefox as your browser…

    Download and install Firebug – just google it.

    All problems will be solved. You will be able to point at something – left click and it would show you the HTML and CSS – then you can locate this and change it to your hearts content.

    Thread Starter ryderg

    (@ryderg)

    Thanks a lot for the responses!

    pixelrow: Forgive me for being dense. I’ve downloaded firebug. I can see where I can select the text I want to style and view the code, but should I edit it in firebug? It doesn’t seem like the most stable editor, and when I tested out the editing, a lot of the time my edits disappeared when I reloaded the page. Can I use firebug to determine the path of the file that I should edit? Thank you!

    Not really sure I understand. If you have written the CSS that targets the text that you want to style and placed in a file called custom.css, then KevinDNG has given you the answer, you need to enqueue that style in the head of your theme, and it will target that text?

    Although I dont think you should use wp_enqueue_script function as he suggests, as this is for javascript but rather the correct function that WordPress provides called wp_enqueue_style.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I've written my css style, how do I apply it?’ is closed to new replies.