Different link colors

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 7 months ago - 11 years 7 months ago #29297 by joa
Different link colors was created by joa
Changing the color under template, options,menus for links to white as necessary for my columns left and right, it also changes the links for the articles in the middle to white.
Is there a piece of code to either assign the link color for articles to black (where to put) or for white (left & right columns)
I found in template_css.css
a:link, a:visited {
color: #FFFFFF;
}
but changing it to black means changing for modules and articles.
What would be the piece of code to leave everything for the columns in white but just changing the links for the articles in the middle to black?
Thanks




Attachments:
Last edit: 11 years 7 months ago by joa.

Please Log in to join the conversation.

More
11 years 7 months ago #29310 by ivan.milic
Replied by ivan.milic on topic Different link colors
Split taht to:

.content_wrap a:link, .content_wrap a:visited{
....
}

.column_left a:link, .column_left a:visited,
.column_left a:right, .column_right a:visited{
....
}

so first would be for central area and second for columns.

Please Log in to join the conversation.

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 7 months ago - 11 years 7 months ago #29315 by joa
Replied by joa on topic Different link colors
shall I just create those two sections at the end of template_css.css or in template_css.php?
Last edit: 11 years 7 months ago by joa.

Please Log in to join the conversation.

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 7 months ago - 11 years 7 months ago #29316 by joa
Replied by joa on topic Different link colors
I included in template_css.css

.column_left a:link, .column_left a:visited,
.column_left a:right, .column_right a:visited{
color: #FFFFFF ;
}
to display links in white but nothing changed: color was kept blue


Attachments:
Last edit: 11 years 7 months ago by joa.

Please Log in to join the conversation.

More
11 years 7 months ago #29325 by ivan.milic
Replied by ivan.milic on topic Different link colors
You can add that at bottom of template_css.css , try using !important flag

Please Log in to join the conversation.

  • joa
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 7 months ago - 11 years 7 months ago #29562 by joa
Replied by joa on topic Different link colors
Thx,
is there a way to achieve a "continuous" background? At the moment the background ar png picture of a specific size. If the article is longer the next repetitive background image is merged to the previous one and you see in the back two images.
First the length of the module is as long as the background pictures height independent from the content (see picture).
I I would like to have a kind of repetitive content what would be the code? Do I have to create just a small picture and it is smothly extended similar to the white background of the main menu?

In the picture below the moduel in the right column should end below the logo. How can I achieve it that the module background is then only as long as its content? Is it via the repeat code with a small background picture?
If so how does it work

Attachments:
Last edit: 11 years 7 months ago by joa.

Please Log in to join the conversation.

Time to create page: 0.230 seconds
Powered by Kunena Forum