Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 06-26-2009, 12:19 PM   #1
HyperActive Warrior
War Room Member
 
Join Date: Jan 2008
Location: USA
Posts: 225
Thanks: 53
Thanked 5 Times in 5 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via MSN to RebeccaLynn
Default adding an attribute to image in css file

Hi Warriors,

I'm having some trouble with modifying the css file on my wordpress blog. i need to add a title attribute to a few of my images and am not sure how to implement it.

Thanks for any help!

Rebecca
RebeccaLynn is offline   Reply With Quote
Old 06-26-2009, 12:31 PM   #2
HyperActive Warrior
War Room Member
 
Join Date: Jun 2007
Location: , , United Kingdom.
Posts: 167
Thanks: 9
Thanked 18 Times in 15 Posts
Default Re: adding an attribute to image in css file

I may be misunderstanding you... but the title attribute is not set by the .css file as this deals with the style of the image only.

The title is set in Wordpress in the wysiwyg editor. Click on the image and you can set various parameters there.
ppc4profit is offline   Reply With Quote
Old 06-28-2009, 03:43 PM   #3
HyperActive Warrior
War Room Member
 
Join Date: Jan 2008
Location: USA
Posts: 225
Thanks: 53
Thanked 5 Times in 5 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile 
Contact Info
Send a message via MSN to RebeccaLynn
Default Re: adding an attribute to image in css file

Thanks... I tried clicking on "editor" under "appearance" in my wordpress control panel and this message comes up:

The requested theme does not exist.

Any way around this?

Thanks,
Rebecca
RebeccaLynn is offline   Reply With Quote
Old 06-28-2009, 03:52 PM   #4
Watching you...
War Room Member
 
Istvan Horvath's Avatar
 
Join Date: Dec 2008
Location: Waterdown, Ontario, Canada
Posts: 5,983
Blog Entries: 2
Thanks: 1,575
Thanked 2,719 Times in 1,656 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to Istvan Horvath
Default Re: adding an attribute to image in css file

No, you do NOT edit the template files or CSS file(s) to add an attribute to the images in your posts.

You add the attributes in the html view of your posts.

However, if you are talking about images that are part of your theme (not clear at all from your post!) then edit the template files in your theme with notepad or some similar text ediotr and upload them via ftp. Attributes like title are part of the html code - they are not in the CSS file.

In the first half of the year we are supposed to work for the taxman. I think that's a mistake.
Help me to get rid of the taxman ASAP - thanks! (You, too, should make less mistakes!)


Istvan Horvath is online now   Reply With Quote
Old 06-29-2009, 02:46 AM   #5
HyperActive Warrior
War Room Member
 
Join Date: Jun 2007
Location: , , United Kingdom.
Posts: 167
Thanks: 9
Thanked 18 Times in 15 Posts
Default Re: adding an attribute to image in css file

RebeccaLynn,

You are going to have to provide more information for us to help you.

What is the image you are concerned with
- is it an image in a post
- is it an image in your template

The process to add an attribute is different.
ppc4profit is offline   Reply With Quote
Old 06-29-2009, 04:38 AM   #6
HyperActive Warrior
War Room Member
 
RedMatrix's Avatar
 
Join Date: Oct 2007
Location: Mission, TX, USA.
Posts: 333
Thanks: 224
Thanked 62 Times in 36 Posts
Social Networking View Member's FaceBook Profile  View Member's Twitter Profile  View Member's YouTube Profile
Contact Info
Send a message via Yahoo to RedMatrix Send a message via Skype™ to RedMatrix
Default Re: adding an attribute to image in css file

This thread belongs in the correct forum. You'd get a better response, plus maybe learn something reading others' problems that have been resolved. :-*

~Dave
RedMatrix is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
adding, attribute, css, file, image

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 09:58 AM.