go41

Re: Where to place code changes in the style sheet for a very specific change :: Reply by Joern

von Joern am 22. Jan. 2010 | Keine Kommentare

if you start to change something in style.css under

a:link, a:visited {

color: #3c78a7;

text-decoration:none

}
a:hover, a:active {

color: #3c78a7;

text-decoration:underline;

}

you will get this changes all over your site, let’s say you change

text-decoration:none

to

text-decoration:underline

in the a:link part, all your links in your site will be underlined by default, on hover with the mouse will be no change (unless you make this to text-decoration:none
I understand you want to change links you show in your posts only, so you could use new entries:

.post a {

text-decoration:underline;

color:#FF0000;

}

.post a:hover {

color: #3c78a7;

}

this will underline all links in posts AND make them red as example, on hover the links will change to blue as before.
So did you ever make an ftp connection to your site to just pull the whole thing as a backup to your PC?

Where is your site?
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 7 weitere Ergebnisse dieses Threads:

Where to place code changes in the style sheet for a very specific change

22. Jan. 2010 (von: Blogchick)

Ever since I started writing posts with this theme, I've been using a code that makes the links dotted. I like the look better than the normal link formatting.However, my understanding of css is very VERY basic, so I never…

Re: Where to place code changes in the style sheet for a very specific change :: Reply by Blogchick

23. Jan. 2010 (von: Blogchick)

That worked out perfectly! Thanks Joern . Weiterlesen →

Re: Where to place code changes in the style sheet for a very specific change :: Reply by Joern

23. Jan. 2010 (von: Joern)

I got at least one more idea how to 'improve' your internal linking by giving the visitors a chance to go directly from one post to the next in single post view. Just display the link to next and previous…

Re: Where to place code changes in the style sheet for a very specific change :: Reply by Blogchick

24. Jan. 2010 (von: Blogchick)

Hi Joern,Thanks for the brilliant suggestion! I think it's a great idea and implemented a slight variation of it. What I didn't like was the location though - putting that code in exactly like that would have the next and…

Re: Where to place code changes in the style sheet for a very specific change :: Reply by Joern

24. Jan. 2010 (von: Joern)

I think yes, you can limit this next and previous to the categories the post is in.I do not know how this works really with posts in asigned to many categories, but this should do it:Code:<div class="navigation">      <div class="right"><?php…

Re: Where to place code changes in the style sheet for a very specific change :: Reply by Blogchick

25. Jan. 2010 (von: Blogchick)

That did it.... now all of the next and previous posts are within the categories. Well, not with the featured and heading categories (which behave funny), but I have no problem with that really.Thanks again . Weiterlesen →

Re: Where to place code changes in the style sheet for a very specific change :: Reply by Joern

5. Feb. 2010 (von: Joern)

what happened to your single.php?I guess you have a /div too much close to the end of this file.The sidebar drops below the content.____________________you find me on Google+, Twitter and Facebook Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: