coconut19
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not activatingI now tried In style.css to remove shadow from Header from being this:
#masthead h1.site-title a { color: white; text-shadow: 1px 0px 0px black; }
changing to this:
#masthead h1.site-title a { color: white; text-shadow: none; }
It is working when I try the online html on my site, but not working when saved in stylesheet…
Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not activatingThanks again for looking into this!
I found the jquery.nivo.slider.pack.js file in the Klopp (parent) theme using file search at my host. I understand that I need to increase pauseTime. But do I change the file at my host (it does not seem to work), or do I have to download the jquery.nivo.slider.pack.js file to my Child theme? If so, how do I do that? Or is there another way?
In wp admin I found only this nivoslider.php file which looks like this:<?php /* The Template to Render the Slider * */ //Define all Variables. if ( get_theme_mod('klopp_main_slider_enable' ) && is_front_page() ) : $count_x = $count = esc_html(get_theme_mod('klopp_main_slider_count')); ?> <div id="slider-bg"> <div class="container"> <div class="slider-wrapper theme-default"> <div id="nivoSlider" class="nivoSlider"> <?php for ( $i = 1; $i <= $count; $i++ ) : $url = esc_url ( get_theme_mod('klopp_slide_url'.$i) ); $img = esc_url ( get_theme_mod('klopp_slide_img'.$i) ); if ($img != '') : ?> <a href="<?php echo $url; ?>"><img src="<?php echo $img ?>" title="#caption_<?php echo $i ?>" /></a> <?php endif; ?> <?php endfor; ?> </div> <?php for ( $i = 1; $i <= $count_x; $i++ ) : $title = esc_html(get_theme_mod('klopp_slide_title'.$i)); $desc = esc_html(get_theme_mod('klopp_slide_desc'.$i)); $button = esc_html(get_theme_mod('klopp_slide_CTA_button'.$i)); $url = esc_url( get_theme_mod('klopp_slide_url'.$i) ); ?> <div id="caption_<?php echo $i ?>" class="nivo-html-caption"> <a href="<?php echo $url ?>"> <div class="slide-title"><?php echo $title ?></div> <div class="slide-desc"><span><?php echo $desc ?></span></div> <?php if ($button != "") { ?><div class="slide-cta"><span><?php echo $button ?></span></div><?php } ?> </a> </div> <?php endfor; ?> </div> </div> </div> <?php endif; ?>
Forum: Fixing WordPress
In reply to: CSS changes to stylesheet not activatingThanks @frasermarlow for looking at my problem. Yes, I can see what u mean with empty stylesheets and duplicate problem. I dont know why. Yes, I am using wp editor, not ftp. And I am always pushing the button at the bottom of stylesheet page to save. ?? Now I tried to fill in changes for nivo slider. In my stylesheet it looks like this now, but no changes to the slider speed.
/* Theme Name: Child theme Klopp Author: Admin Template: klopp */ .nivoSlider { position:relative; width:100%; height:auto; overflow: hidden; animSpeed: 500; pauseTime: 5000; }
I might be doing it wrong though. But for example when changing nav float from left to right in html online just to try, it works. When copying that “new” css to changing the code in style.css, it does not work. And I know I must be using the right code for this. I dont understand why this is happening. Ever so grateful if any wiz want to help me solve this ??