June 17, 201214 yr Hello folks, I've recently done a website in Wordpress for a friend and they are unhappy with the font and italics of the photo descriptions like so....Lovely Things Page How do I manually add rows and columns of photos using HTML ? I cant seem to amend the font as its a gallery plugin.
June 17, 201214 yr You're defeating the point of using a CMS if you manually do it, and anyway, how is the client going to edit the content? They are not going to want to go through you, and it's slow, tedious, and after 2/3 times going to get very irritating for both sides. Your problem is with the CSS, so stick to using the plugin. The plugin is obviously applying CSS. Use your developer tools to find out where, then edit the relevant CSS file in the plugin folder - or over-ride the styles in the themes stylesheet. Should be very simple to do.
June 17, 201214 yr Author How do I use "developer tools" and where is the theme stylesheet located ? Sorry, amateur.
June 18, 201214 yr How do I use "developer tools" and where is the theme stylesheet located ? Sorry, amateur. 1 - Get Firefox 2 - Get Firebug 3 - Right click on italic font and 'Inspect Element with Firebug' 4 - The font is given the class .wp-caption-text, and is styled in the file http://www.lovelythings.org.uk/wp-content/themes/WhiteHousePro/whitehousepro3_dev/css/theme.css on line 790. 5 - Style it up baby!
June 18, 201214 yr 1 - Get Firefox 2 - Get Firebug Or if you're using Chrome... wrench icon >> tools >> developer tools
June 18, 201214 yr Or if you're using Chrome... wrench icon >> tools >> developer tools Or even: Right click >> Inspect Element Ctrl + Shift + I
June 18, 201214 yr Or even: Right click >> Inspect Element Doh, what's worse is that's the way i do it but when explaining it on here i automatically went in to retard mode
June 18, 201214 yr Author Where in the CSS file can I change the font name and remove the italics ? I have located line 790 but there is no mention of a font name (im looking for something like "Helveitca" or what not.
June 19, 201214 yr It is inheriting the font from where it is declared on the body property. You just need to over-ride this by adding the font rules to your CSS.
June 20, 201214 yr Or if you're using Chrome... wrench icon >> tools >> developer tools For me nothing quite compares to Firebug, maybe I'm just stuck in my ways!
Create an account or sign in to comment