• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Series
    • Bug
    • Article [URL] font color?

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Article [URL] font color?

    • Issue Tools
      • View Changes
    1. issueid=953 November 21, 2009 1:49 AM
      gv1.3 gv1.3 is offline
      New Member
      Article [URL] font color?

      Hi,

      I am trying to change the link color that is used in articles. Ive just installed your product and the default seems to be a white background with white text for the hyperlink which turns yellow on hover.

      I went to the wiki style manager and edited the vault_css_links section and tried changing some of the font colors but it does not seem to be making any difference.

      Thank you for any advice you can give me.

      Dylan
    Issue Details
    Issue Number 953
    Issue Type Bug
    Project VaultWiki 3.x Series
    Category Styling / CSS
    Status Fixed
    Priority 4 - Warnings / Script Errors
    Affected Version 2.5.6
    Fixed Version 2.5.7
    Milestone (none)
    Software DependencyAny
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. November 21, 2009 2:08 AM
      pegasus pegasus is offline
      VaultWiki Team
      Please post your vault_css_links template for review.
      Reply Reply  
    2. November 21, 2009 2:46 PM
      gv1.3 gv1.3 is offline
      New Member
      I had been changing the font colors randomly to see if it made a difference but it did not. So I reverted back to original. The article background is white as is the font for links and on mouse over it turns light yellow so is almost invisible.

      Thanks for the help.
      Code:
      /* ######## LINKS ######## */
      
      /* link on a redirect page */
      .redirectText { font-size: 18px; }
      
      /* text in the popup over wiki links */
      .autolink_content {
      	background: #e1e1e2;
      	font-size: 12px;
      }
      
      /*** links using the [URL] BB-Code, based on link protocol ***/
      .link-http { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/external.png) center right no-repeat; }
      .link-https { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/lock_icon.gif) center right no-repeat; }
      .link-mailto { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/mail_icon.gif) center right no-repeat; }
      .link-news { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/news_icon.png) center right no-repeat; }
      .link-ftp { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/file_icon.gif) center right no-repeat; }
      .link-irc { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/discussionitem_icon.gif) center right no-repeat; }
      
      /* links within articles */
      .vw-content a { color: #0B198C; }
      
      /* hovering over links within articles */
      .vw-content a:hover { text-decoration: underline; }
      
      /* links to new (uncreated) articles */
      .autolink_content a.new, .vw-content a.new, 
      .vw-content a.new:visited, .alt1 a.new, .alt2 a.new { color: #ff0000; }
      
      /* footnote jump links */
      .reflist { font-size: 10px; }
      
      .special_footnote a, .special_footnote a:hover,
      .special_ref_up a, .special_ref_up a:hover {
      	font-size: 9px;
      	color: #7d7d7d;
      }
      
      a.ref_select {
      	color: #fff;
      	background: #0B198C;
      }
      Reply Reply  
    3. November 21, 2009 2:58 PM
      pegasus pegasus is offline
      VaultWiki Team
      Sounds like either the wiki CSS isn't being added to the page or it's being added in the wrong order. Can you create a public test page, or PM me a test account with access to a test page? I would only need permissions to view the page.
      Reply Reply  
    4. November 21, 2009 3:15 PM
      gv1.3 gv1.3 is offline
      New Member
      PM sent. Thanks very much for the impressively fast response.
      Reply Reply  
    5. November 21, 2009 5:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      This is a bug that occurs when the article is wrapped in an element with the "page" class. Ideally you should also edit the colors to match your forum style, but the corrected templates (to be included in the next build) are as follows:
      vault_css_links:
      Code:
      /* ######## LINKS ######## */
      
      /* link on a redirect page */
      .redirectText { font-size: 18px; }
      
      /* text in the popup over wiki links */
      .autolink_content {
      	background: #e1e1e2;
      	font-size: 12px;
      }
      
      /*** links using the [URL] BB-Code, based on link protocol ***/
      .link-http { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/external.png) center right no-repeat; }
      .link-https { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/lock_icon.gif) center right no-repeat; }
      .link-mailto { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/mail_icon.gif) center right no-repeat; }
      .link-news { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/news_icon.png) center right no-repeat; }
      .link-ftp { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/file_icon.gif) center right no-repeat; }
      .link-irc { background: url($vboptions[bburl]/$stylevar[imgdir_vault]/discussionitem_icon.gif) center right no-repeat; }
      
      /* links within articles */
      .vw-content a, .vw-content a:link, .vw-content a:visited,
      .vw-content a:active, .vw-content a:hover { color: #0B198C; }
      
      /* hovering over links within articles */
      .vw-content a:hover { text-decoration: underline; }
      
      /* links to new (uncreated) articles */
      .autolink_content a.new, .autolink_content a.new:link,
      .autolink_content a.new:visited, .autolink_content a:new:active,
      .autolink_content a.new:hover, .vw-content a.new,
      .vw-content a.new:link, .vw-content a.new:visited,
      .vw-content a.new:active, .vw-content a.new:hover,
      .alt1 a.new, .alt1 a.new:link, .alt1 a.new:visited,
      .alt1 a.new:active, .alt1 a.new:link, .alt1 a.new:hover,
      .alt2 a.new, .alt2 a.new:link, .alt2 a.new:visited,
      .alt2 a.new:active, .alt2 a.new:hover { color: #ff0000; }
      
      /* footnote jump links */
      .reflist { font-size: 10px; }
      
      .special_footnote a, .special_footnote a:link,
      .special_footnote a:visited, .special_footnote a:active,
      .special_footnote a:hover, .special_ref_up a,
      .special_ref_up a:link, .special_footnote a:visited,
      .special_footnote a:active, .special_ref_up a:hover {
      	font-size: 9px;
      	color: #7d7d7d;
      }
      
      a.ref_select, a.ref_select:link, a.ref_select:visited,
      a.ref_select:active, a.ref_select:hover {
      	color: #fff;
      	background: #0B198C;
      }
      vault_css_tabs:
      Code:
      /* ######## TABS ######## */
      
      /* standard tab */
      .p-cactions li {
      	cursor: pointer;
      	background: #fff;
      	color: #000;
      	border: 1px solid #000;
      	border-bottom: none;
      	font-weight: normal;
      }
      
      /* currently selected tab */
      .p-cactions li.selected {
      	border-color: #0B198C;
      	border-bottom-color: #fff;
      	color: #0B198C;
      	font-weight: bold;
      	cursor: default;
      }
      
      /* tab that appears when there are too many tabs */
      .p-cactions li.overflow_tab { font-weight: bold; }
      
      /* hovering over a standard tab */
      .p-cactions li:hover {
      	text-decoration: none;
      	border-bottom-color: #fff;
      	color: #000;
      }
      
      /* link on a standard tab */
      .p-cactions li a, .p-cactions li a:visited,
      .p-cactions li a:active, .p-cactions li a:hover {
      	text-decoration: none;
      	color: #000;
      }
      
      /* link on an empty discussion tab or edit tab for new articles */
      .p-cactions li.new * { color: #cc0000; }
      
      /* hovering over the currently selected tab */
      .p-cactions li.selected:hover * { color: #0B198C; }
      
      /* hovering over the currently selected tab */
      /* that is an empty discussion or edit tab for a new article */
      .p-cactions li.new.selected:hover * { color: #cc0000; }
      
      /* In some situations, some properties may have been overwritten */
      /* by the last few classes with the * sign. Only reset the */
      /* properties that were overwritten (e.g. color) */
      
      /* set the CSS again for hovering over a standard tab */
      .p-cactions li:hover { color: #000; }
      
      /* set the CSS again for hovering over empty discussion / edit tab */
      .p-cactions li.new:hover { color: #000; }
      Reply Reply  
    6. November 22, 2009 1:22 AM
      gv1.3 gv1.3 is offline
      New Member
      I have just updated the CSS styles and confirm that this fix has resolved my problem.

      Thank you for the absolutely excellent response.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 8:37 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.