How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Richard Your Own Question
Richard
Richard, Computer Software Engineer
Category: Programming
Satisfied Customers: 36526
Experience:  Computer Software Specialist
32989067
Type Your Programming Question Here...
Richard is online now

I have a site built with html pages. Is there an easy way I

Resolved Question:

I have a site built with html pages. Is there an easy way I can alter text on one page (say in a navigation bar) and give a command that will make this alteration site-wide? Can this be achieved using CSS and can the CSS be added to the pages retrospectively?
Submitted: 1 year ago.
Category: Programming
Expert:  adamd-mod replied 1 year ago.
Hello there,
I've been working hard to find a Professional to assist you with your question, but sometimes finding the right Professional can take a little longer than expected.
I wonder whether you're ok with continuing to wait for an answer. If you are, please let me know and I will continue my search. If not, feel free to let me know and I will cancel this question for you.
Please note, I am just a moderator for this category, I can only try and find experts to help, I can't answer the question itself.
Thank you!
Adam
Customer: replied 1 year ago.
Will wait for answer
Expert:  adamd-mod replied 1 year ago.
Hello,
Thanks for getting back to me.
We will continue to look for a Professional to assist you.
Thank you for your patience,
Adam
Expert:  Richard replied 1 year ago.
Hi there and welcome
Is this text thats actually displayed on the pages? So what a visitor will see?
Customer: replied 1 year ago.
Yes, it's the navigation bar across the top of each page. (Also called Menu Bar I believe?) It always remains the same whatever page the reader is accessing. I suspect I can modify the LOOK of the bar or part of the bar but I'd like to find out whether I can make a 'global' alteration to the TEXT. I spend a lot of time coming through the pages and altering the wording and wonder whether there is some more economic way?
Expert:  Richard replied 1 year ago.
You can do it via CSS
In the actual navigation you would put a span around the text like this

Then in the CSS you would use
.nav-title:after {
content: 'Menu Text';
}
Then you only have to change it there and as long as you use the Span with the same class, the text will always be the same.
Is this what you are looking for?
Expert:  Richard replied 1 year ago.
as this is a web page some of my code was stripped out
You can see the proper message here
http://wikisend.com/download/184778/ja.txt
Customer: replied 1 year ago.
As I say, will have to deal with this tomorrow and get back to you if that's OK by you?
Expert:  Richard replied 1 year ago.
ok no problem
Customer: replied 1 year ago.
Thanks.
Expert:  Richard replied 1 year ago.
your welcome
Customer: replied 1 year ago.
I have had a look at the material you sent me and I'm afraid my lack of knowledge of coding is all too evident!
Any chance I could send you a page of coding from the site, or that you could have a look at the coding of the site (address below),
You will quickly see that it has, to a great degree, been constructed in 'design' mode. I have not used CSS at all. I appreciate how using the method can lead to an economical way of changing the colour/weight/background/font etc globally throughout the site. What interests me is whether I can do the same with the actual WORDING of the text.Instance, if you look at a page of my site (harburnvillagehall.org.uk) you will see a part of the nav bar at the top called Burns and Other Parties. If you click on this, the drop down menu offers Burns 15 16. Until last week this read Burns 15, but I wanted to add in 16 so I oipened EACH page separately, found the code and altered to make the addition. As you can imagine this took a time!
I was told (by someone who knows only marginally more than me admittedly, that there could be a quicker way of doing this alteration.I hope you can understand this rather rambling account and realise that I may be going into some extra time if you think you can sort the problem.In hope,NB
Expert:  Richard replied 1 year ago.
Because this interface removes my code for HTML, I put my response for you in this file herehttp://wikisend.com/download/262648/ja.txt
Richard, Computer Software Engineer
Category: Programming
Satisfied Customers: 36526
Experience: Computer Software Specialist
Richard and other Programming Specialists are ready to help you

Related Programming Questions