ElleryG
asked 9 years ago

Hi,

Suddenly, my link color has changed to red from black! Is there an easy way to change it to, say, green? It isn’t anywhere in the style.css file anymore. Thanks!

1 Answers
DominicStaff
answered 9 years ago

Hi,
If you want to change the color in the Q&A page, you can add the following code to the style.css file:

.single-dwqa-question .entry-sidebar {
  width: 22%;
}
.single-dwqa-question .entry-sidebar .tags-links a:hover, .single-dwqa-question .entry-sidebar .tags-links a:active {
  color: #333
}
.single-dwqa-question .entry-sidebar .entry-sharing .list-group-item {
  border-left: 0;
  border-right: 0;
  padding-left: 0;
  padding-right: 0;
  font-size: 12px;
  line-height: 20px
}
.single-dwqa-question .entry-sidebar .entry-sharing .list-group-item a {
  color: #777
}
.single-dwqa-question .entry-sidebar .entry-sharing .count {
  float: right;
  background: #555;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  color: #fff !important
}
.single-dwqa-question .entry-sidebar .entry-sharing .share:before {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  width: 20px;
  margin-right: 10px;
  text-align: center;
  font-size: 14px
}
.single-dwqa-question .entry-sidebar .entry-sharing .share:before.pull-left {
  margin-right: .3em
}
.single-dwqa-question .entry-sidebar .entry-sharing .share:before.pull-right {
  margin-left: .3em
}
.single-dwqa-question .entry-sidebar .entry-sharing i {
  width: 20px;
  margin-right: 6px;
  text-align: center;
  font-size: 14px
}
.single-dwqa-question .entry-sidebar .entry-sharing #twitter .share:before {
  content: "\f099";
  color: #00aced
}
.single-dwqa-question .entry-sidebar .entry-sharing #twitter .count {
  background: #00aced
}
.single-dwqa-question .entry-sidebar .entry-sharing #facebook .share:before {
  content: "\f09a";
  color: #3b5998
}
.single-dwqa-question .entry-sidebar .entry-sharing #facebook .count {
  background: #3b5998
}
.single-dwqa-question .entry-sidebar .entry-sharing #google-plus .share:before {
  content: "\f0d5";
  color: #dd4b39
}
.single-dwqa-question .entry-sidebar .entry-sharing #google-plus .count {
  background: #dd4b39
}
.single-dwqa-question .entry-sidebar .entry-sharing #linkedin .share:before {
  content: "\f0e1";
  color: #007bb6
}
.single-dwqa-question .entry-sidebar .entry-sharing #linkedin .count {
  background: #007bb6
}
.author-info {
  border: 1px solid #ddd;
  border-top: 0;
  margin-top: -20px;
  margin-bottom: 20px;
  padding: 20px 20px 20px 120px;
  position: relative;
  min-height: 100px;
  background: #f7f7f7
}

Note: Our DW Q&A do not support the Author section as you see in the Single post of DW Focus theme. I think you should remove this section.
If you want to remove it, you can add the following code to the style.css file:
.single-dwqa-question .author-info { display: none !important;}

Hope this helps !

ElleryG
replied 9 years ago

Actually, that’s great information, but it’s the regular site I’m talking about, not the DWQA pages.

dominic Staff
replied 9 years ago

Ah, The code that I have provided in this question to help you resolve this issue that you asked in the following question: http://www.designwall.com/question/just-installed-dwqa-1-33-and-avatars-and-sharing-buttons-are-acting-up/
However, I have lost some code to change color in the DW Focus theme :D, you can add the following code to the stye.css file to change from Red color to Gray color or Green color as you want.
a { color: #... ; }
Or you can find this line code in the dw-focus.min.css file.
Hope this helps !

ElleryG
replied 9 years ago

Yes, this ALL worked great! Thank you so much!

Powered by DW Question & Answer Pro