• Resolved MHNet

    (@mhnet)


    Everything looks correct in my preview, but when I put the code on my webpage the button links on the right go from being white in the preview to a dark gray. On my webpage the main link color is a grayish color, so I’m wondering if it’s picking up the CSS style of that for some reason. Is there a way in the template code to change the color of the button links or something I should change in my website CSS so the links appear white?

    http://www.wnmufm.org/test/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter MHNet

    (@mhnet)

    Well, I thought I had this figured out and went in to the template document and replaced:

    }
    #fs-title a , #fs-title a:visited {
    	color:<?php echo $options['values']['fs_font_color']?>;
    	text-decoration: none;
    }
    #fs-title a:hover {
    	text-decoration: underline;
    }

    with…

    }
    #fs-title a , #fs-title a:visited {
    	color: #ffffff;
    	text-decoration: none;
    }
    #fs-title a:hover {
            color: #ffffff;
    	text-decoration: underline;
    }

    I uploaded this in to a new template directory and it showed up how I wanted on my main page. But when I went to use the Appearance Editor and updated a file, I would get the following error:

    Warning: Cannot modify header information - headers already sent by (output started at /home4/wnmufmor/public_html/wp-content/plugins/frontpage-slideshow/templates/new1/template.php:1) in /home4/wnmufmor/public_html/wp-admin/theme-editor.php on line 81

    Line 1 of the template is just <?php

    Line 81 of theme-editor is:

    header("Location: $location");

    There are no blank spaces/lines at the beginning or end of the files. Not sure what I need to change. Any help appreciated!

    Plugin Author jeff_

    (@jeff_)

    Hum… the template.php file is made to avoid that : it do not output a thing (all outputs are collected by a buffer) so you probably got a blank thing ouside of the php code…

    anyway you can just add a “!important” statement a the end of the css color rule like :

    #fs-title a , #fs-title a:visited {
    	color:<?php echo $options['values']['fs_font_color']?>!important;
    	text-decoration: none;
    }
    Plugin Author jeff_

    (@jeff_)

    Could you use a pastebin service or dropbox and paste me the entire file so that I can see it ?

    Plugin Author jeff_

    (@jeff_)

    did you transfert the file via ftp ? have you used binary mode to do so ?

    another guy got the same issue (see this topic)

    Thread Starter MHNet

    (@mhnet)

    I managed to resolve the problem by modifying some of my main stylesheet. Not sure if that’s the ideal way to fix it, but it works how I want it to now, so that’s good enough for me! Thanks!

    Plugin Author jeff_

    (@jeff_)

    yeah its the best way to fix that kind of problem, Create a new template allow you more tweaks to change the whole slider appearance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Button link color not showing up correctly’ is closed to new replies.