We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Editing an object on the website help needed...
alirob12
Posts: 809 Forumite
in Techie Stuff
Hi I have got a website, which i adapted from a template, It works ok, however there are a couple of bits I need to change/edit like a header etc but i am not sure what/how to do it. i am sure it is very straight forward but its just over me... can someone help. if so here is my site ww.whatisyourlife.110mb.com and it is for example the blue header above the big picture. It is too dark and i would like to put some txt in it. any idea? thank you
0
Comments
-
The blue bar is a picture, you can either re-color the picture or make a div with the right blackground color to replace it.0
-
ok, thanks, whats div and how do i replace it please?
thanks0 -
a div is a html element, its used as a content container. its basicly the most generic html element it doesn't really do anything on its own, its just a logical grouping of other html elements or text (which we can apply style to via css)
if you look at your code you'll see lots of div tags.
open up your page and replace this line (near line 69)[COLOR=#0000ff]<[/COLOR][COLOR=#800000]h1[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff]<[/COLOR][COLOR=#800000]img [/COLOR][COLOR=#ff0000]src[/COLOR][COLOR=#0000ff]="images/wpe17238.jpg" [/COLOR][COLOR=#ff0000]width[/COLOR][COLOR=#0000ff]="330" [/COLOR][COLOR=#ff0000]height[/COLOR][COLOR=#0000ff]="47" [/COLOR][COLOR=#ff0000]style[/COLOR][COLOR=#0000ff]="color: #FFFFFF" />[/COLOR][COLOR=#0000ff]</[/COLOR][COLOR=#800000]h1[/COLOR][COLOR=#0000ff]>[/COLOR]
with this line[COLOR=#0000ff]<[/COLOR][COLOR=#800000]h1[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff]<[/COLOR][COLOR=#800000]div [/COLOR][COLOR=#ff0000]style[/COLOR][COLOR=#0000ff]="width:330px; height:47px; background-color:#0000FF">[/COLOR][COLOR=#ff0000] [/COLOR][COLOR=#0000ff]</[/COLOR][COLOR=#800000]div[/COLOR][COLOR=#0000ff]>[/COLOR] [COLOR=#0000ff][COLOR=#0000ff]</[/COLOR][COLOR=#800000]h1[/COLOR][COLOR=#0000ff]>[/COLOR][/COLOR]
the background-colour should be the rgb hex code of whatever blue you wanted. it may still need some tweaking.0 -
thanks very much, what if I want to put some txt in it? Many thanks!!0
-
remove the " and put any text you wantSilenced by the Gestapo :rotfl:0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.2K Reduce Debt & Boost Income
- 455K Spending & Discounts
- 246.6K Work, Benefits & Business
- 602.9K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards