Jump to content
Sign in to follow this  
akakjb

site not responding to CSS

Recommended Posts

akakjb

I have recently re-CSS'd my site to be more responsive. I have also been messing with stylized features that I could add to the site to make it a bit more appealing. I have 3 boxes underneath the quickslider of my site used as sub navigation. they are RESCUE, RECOVERY, and RESTORATION. Originally these were red, green and blue (in the same order). This was done with CSS to color them and make them larger than normal "a" links. I removed the code with command+X and inputed new code in to try a different effect. It wasn't working. I then deleted the new code and hit command+V to paste back in the old code. it didn't take. Now I can't get the box titles to respond at all to any code. I check the title with "Inspect Element" in Chrome and the CSS doesn't even show up as incorrect or not taken in the CSS panel. It just isn't there. I have correctly opened and closed the CSS commands but still nothing. Here is the CSS I originally used

 

 

div#fbox_3285.fbox h3 {
  font-size:36px;
  color:#b7001f;
}
 
div#fbox_3283.fbox h3 {
  font-size:36px;
  color:#506e1f;
}
 
div#fbox_3281.fbox h3 {
  font-size:36px;
  color:#032e55;
}

 

I already tried adding a more specific tag to the div by adding ".fboxtitle" before "h3" and that didn't work either.

 

Please help!

 

http://www.ugmspokane.org

 

-James

Share this post


Link to post
Share on other sites
Rob

Hi,

 

Was there any other CSS?


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Rob

James, the good thing is that your CSS is perfectly valid.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
akakjb

Here is all my css copied from the pagelines CSS/LESS Rules

 

body{}
 
/* - - - - - - F O N T  E M B E D - - - - - - */
@font-face {  
          font-family: "NationalBold";  
          src: url(http://www.ugmspokane.org/fonts/coolvetica.eot); /* IE */  
    src: url(http://www.ugmspokane.org/fonts/coolvetica.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */ 
               url(http://www.ugmspokane.org/fonts/nationalBold.ttf) format('truetype'); /* non-IE */  
  } 
 
  .NationalBold { font-family: "NationalBold", verdana, helvetica, sans-serif;  
  } 
 
/* - - - - - - - - */
 
@font-face {  
    font-family: "NationalBook";  
    src: url(http://www.ugmspokane.org/fonts/agoestoesan.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */ 
         url(http://www.ugmspokane.org/fonts/nationalBook.ttf) format("truetype"); /* non-IE */  
  } 
 
.NationalBook { font-family: NationalBook, verdana, helvetica, sans-serif;  
  } 
 
/* - - - - - - - - */
 
@font-face {  
    font-family: "Yank";  
    src: url(http://www.ugmspokane.org/fonts/yank.eot); /* IE */  
    src: url(http://www.ugmspokane.org/fonts/yank.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */ 
               url(http://www.ugmspokane.org/fonts/yank.ttf) format("truetype"); /* non-IE */  
  } 
 
.Yank { font-family: Yank, verdana, helvetica, sans-serif;  
  } 
 
/* - - - - - - - - */
 
@font-face {  
    font-family: "NationalItalic";  
    src: url(http://www.ugmspokane.org/fonts/nationalItalic.eot?#iefix) format('embedded-opentype'), /* IE6-IE8 */ 
               url(http://www.ugmspokane.org/fonts/nationalItalic.ttf) format("truetype"); /* non-IE */  
  } 
 
.NationalItalic { font-family: NationalItalic, verdana, helvetica, sans-serif;  
  } 
 
/* - - - - - - - - */
 
 
 
 
/* - - - - - - - - - - - H E A D E R - - - - - - - - - - - */
 
 
/* - G L O B A L - */
 
p {
  color:#333333;
  font-family:NationalBook;
  font-size:18px;
}
 
a {
  color:#032e55;
  text-decoration:none !important;
  font-family:"NationalBold";
  font-size:18px;
  -o-transition:color .3s ease-out, background .2s ease-in;
  -ms-transition:color .3s ease-out, background .2s ease-in;
  -moz-transition:color .3s ease-out, background .2s ease-in;
  -webkit-transition:color .3s ease-out, background .2s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .3s ease-out, background .2s ease-in;
}
 
a:hover {
  color:#b7001f;
}
 
h2 a {
  color:#032e55 !important;
  text-decoration:none !important;
  font-family:"NationalBold";
  font-size:36px;
  -o-transition:color .3s ease-out, background .2s ease-in;
  -ms-transition:color .3s ease-out, background .2s ease-in;
  -moz-transition:color .3s ease-out, background .2s ease-in;
  -webkit-transition:color .3s ease-out, background .2s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .3s ease-out, background .2s ease-in;
}
 
h2 a:hover {
  color:#b7001f !important;
}
 
a img {
  opacity:1;
 -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
a img:hover {
  opacity:.7;
  -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
h4 {
  font-family:"NationalBold";
  font-size:24px;
  color:#3c2c04;
}
 
.alignleft {
  margin-bottom: 0em !important;
  margin-right: 1em !important;
}
  
 
/* - N A V B A R - */
 
div.navbar.fix.navbar-content-width.pl-color-black-trans {
  background: transparent !important;
  box-shadow:none !important;
  border:none !important;
}
 
div.navbar.fix.navbar-content-width.pl-color-black-trans {
   background: none !important;
   moz-box-shadow: none !important;   
   -webkit-box-shadow: none !important;   
   box-shadow: none !important;
   border: none !important;
   filter: none !important;
}
 
ul#menu-quick-nav.font-sub.navline.pldrop.pull-right a {
  color:#d8d5cd;
  font-family:Yank;
  font-size:16px;
  font-weight:100;
  text-shadow:none !important;
}
 
ul#menu-quick-nav.font-sub.navline.pldrop.pull-right a:hover {
  color:#b1ab9c;
}
 
/* - B R A N D N A V - */
 
img.mainlogo-img {
  opacity:1;
}
 
img.mainlogo-img:hover {
  opacity:.8;
}
 
a.plbrand.mainlogo-link {
  padding-right:0% !important;
  position:relative !important;
}
 
li#menu-item-3230.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-3230 img {
  opacity:1;
}
 
li#menu-item-3230.menu-item.menu-item-type-post_type.menu-item-object-page.menu-item-3230 a {
  position:relative;
  bottom:17px;
}
 
section#brandnav.container.clone_1.section-brandnav.fix .content-pad {
  padding-top:0em !important;
  padding-bottom:0em !important;
}
 
div.brandnav-nav.main_nav.fix {
  position:relative !important;
  top:89px;
  margin-left:0px !important;
}
 
div.brandnav-nav.main_nav.fix a#mobile-menu-trigger {
  position:relative;
  top:-89px !important;
}
 
div.brandnav-nav.main_nav.fix a#mobile-menu-trigger div.brandnav-nav.main_nav.fix {
  position:relative;
  top:-89px !important;
}
 
div.brandnav-nav.main_nav.fix a {
  -o-transition:color .4s ease-out, background .3s ease-in;
  -ms-transition:color .4s ease-out, background .3s ease-in;
  -moz-transition:color .4s ease-out, background .3s ease-in;
  -webkit-transition:color .4s ease-out, background .3s ease-in;
  /* ...and now override with proper CSS property */
  transition:color .4s ease-out, background .3s ease-in;
  font-size:20px;
  font-family:NationalBold;
  letter-spacing:1px;
}
 
div.brandnav-nav.main_nav.fix a:hover {
  background:#ebeae6 !important;
}
  
  
div.brandnav-nav.main_nav.fix ul.sub-menu a {
  font-family:NationalBook;
}
 
div.brandnav-nav.main_nav.fix ul.sub-menu a:hover {
  background:#d8d5cd !important;
}
 
 
/* - H I G H L I G H T - */
 
section#highlight.container.clone_1.section-highlight.fix .content-pad {
  padding-top:0em !important;
  padding-bottom:0em !important;
}
  
  /* - - - - - - - - - - - C O N T E N T - - - - - - - - - - - */
 
  
/* - T I T L E S - */
  
hgroup.post-title.fix h1.entry-title.pagetitle {
  font-family:"NationalItalic" !important;
  font-size:48px !important;
  letter-spacing:10px;
  color:#9d8b73;
  font-weight:100;
  
section.bd.post-title-section.fix h1.entry-title {
  font-family:"NationalItalic" !important;
  font-size:48px !important;
  letter-spacing:3px;
  color:#9d8b73;
  font-weight:100;
}
 
div.streamer.text {
  font-family:"NationalBold" !important;
  font-size:24px !important;
  font-style:none !important;
  text-transform:none !important;
}
 
h3.hungryfeed_feed_title {
  display:none !important;
}
 
 
/* - H I G H L I G H T - */
 
 
 
 
/* - q u i c k s l i d e r - */
 
div.fslider img {
  opacity:1;
}
 
 
 
/* - B O X E S - */
  
.grid-element.pp4.img_grid {
  margin-bottom:0px !important;
}
 
div#fbox_3285.fbox h3 {
  font-size:36px;
  color:#b7001f;
}
 
div#fbox_3283.fbox h3 {
  font-size:36px;
  color:#506e1f;
}
 
div#fbox_3281.fbox h3 {
  font-size:36px;
  color:#032e55;
}
 
div#fbox_3285.fbox h3:hover {
  color:#032e55 !important;
}
 
div#fbox_3283.fbox h3:hover {
  color:#3c2c04 !important;
}
 
div#fbox_3281.fbox h3:hover {
  color:#b7001f !important;
}
 
div#fbox_3279.fbox img {
  border-radius:0px;
  box-shadow:none;
}
 
div#fbox_3277.fbox img {
  border-radius:0px;
  box-shadow:none;
}
 
div#fbox_3275.fbox img {
  border-radius:0px;
  box-shadow:none;
}
 
div#fbox_3273.fbox img {
  border-radius:0px;
  box-shadow:none;
}
 
/* - F A C E B O O K - */
 
div.pluginSkinLight ._4s7c {
border: none !important;
border-top-color: transparent !important;
}
 
  
/* - P O S T S - */
 
 
/* - I M P A C T  P A R T N E R S - */
/*
table#impact-table {
  max-width:99% !important;
   height:auto !important;
}
 
td#impact-1 {
  opacity:.75;
  max-width:241px !important;
  vertical-align:bottom !important;
  padding: 0em !important;
  -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
 
td#impact-1:hover {
  opacity:1;
    max-width:241px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
#impact-image-1:hover + #impact-text-1 {
  display:block !important;
}
 
td#impact-2 {
  opacity:.75;
 
    max-width:220px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-2:hover {
  opacity:1;
     max-width:220px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
td#impact-3 {
  opacity:.75;
  max-width:188px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-3:hover {
  opacity:1;
    max-width:188px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
td#impact-4 {
  opacity:.75;
  max-width:205px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-4:hover {
  opacity:1;
    max-width:205px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
td#impact-5 {
  opacity:.75;
  max-width:190px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-5:hover {
  opacity:1;
    max-width:190px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
 
td#impact-6 {
  opacity:.75;
  max-width:176px !important;
    vertical-align:bottom !important;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
 
td#impact-6:hover {
  opacity:1;
    max-width:176px !important;
-webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
*/
 
  /* - - - - - - - - - - - F O O T E R - - - - - - - - - - - */
 
/* - M O R E F O O T - */
 
body.home SECTION#morefoot.container.clone_1.section-morefoot.fix {
   display:none !important;
}
 
div#nav_menu-2.widget_nav_menu.widget.fix h3 {
  font-size:20px;
  color:#b7001f;
  font-family:"NationalBold";
  text-transform:uppercase;
}
 
div#nav_menu-3.widget_nav_menu.widget.fix h3 {
  font-size:20px;
  color:#506e18;
  font-family:"NationalBold";
  text-transform:uppercase;
}
 
div#nav_menu-4.widget_nav_menu.widget.fix h3 {
  font-size:20px;
  color:#002d54;
  font-family:"NationalBold";
  text-transform:uppercase;
}
 
section#sb_footcols.container.clone_1.section-sb_footcols.fix p {
  color:#999999;
}

Share this post


Link to post
Share on other sites
James B

Hi there, its because the styling for the a tag is overriding it. If you add an a to the end of your code it should work - http://screencast.com/t/XvT8m6MwY8

 
div#fbox_3283.fbox h3 a {

    color: #506E1F;
    font-size: 36px;
}

Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
akakjb

Hi there,

     I have tried adding the "a" and I have also tried including !important. None of it works.

 

-James

Share this post


Link to post
Share on other sites
akakjb

Alright, so I just tried again. This time the CSS went through. I don't believe at all it was because of not inputing the correct tag, I have tried adding "a" and "!important" to the css several times yesterday and today before I posted to the forum. The CSS seems to be cached and won't reset for a period of hours before it applies new styling. I don't have any caching plugins active, so my theory is that the lag is from Pagelines. I have had things like this happen multiple times in the past. Is there a way to reduce/eliminate this lag?

 

-James

Share this post


Link to post
Share on other sites
akakjb

For Example

 

div#fbox_3285.fbox h3 a:hover {
  color:#032e55 !important;
}
 
div#fbox_3283.fbox h3 a:hover {
  color:#3c2c04 !important;
}
 
div#fbox_3281.fbox h3 a:hover {
  color:#b7001f !important;
}

 

 

This code has been in the CSS since Saturday at about 11pm. I added it but it would not work. I just updated the tags on the css back to this original CSS (there were several variations along the way) and voila! it works. Super frustrating.

Share this post


Link to post
Share on other sites
James B

So all working now?


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • chamois_blanc
      By chamois_blanc+
      Hello,
      Shouldn't the image PL5 component be using the srcset/picture css directives to pick the correct size for an image? or it does already and I don't know how to use it? Thank you for any advice or enlightenment.
    • Dan Haddock
      By Dan Haddock
      Plugins Active and installed: 
      Akismet Anti-Spam
      Coming Soon Page & Maintenance Mode by SeedProd
      Contact Form 7
      Cookie Law Info
      DMS Professional Tools  
      Enhanced Media Library  
      Flamingo
      Google Analytics for WordPress by MonsterInsights
      Google XML Sitemap
      Jetpack by WordPress.com
      Legull 
      Loginizer   
      MailChimp for WordPress
      PageLines Updater    
      Schema App Structured Data 
      Sucuri Security - Auditing, Malware Scanner and Hardening
      Uber reCaptcha    
      Yoast SEO
      Wordpress Version: 4.8.1
      Pagelines Version: 2.2.4
       
      Good Evening/Afternoon or Morning, 
      I am running into a problem with CSS styling not applying inside of most browsers (Safari, Firefox) when I am logged in to wordpress, and all browsers that I have tested when I am logged off and the site has been made public (Chrome, Firefox and Safari).
      As a result, I have managed to identify the probable cause. It looks as though these browsers are refusing to render my sites compiled CSS file due to it being a HTTP URL rather than HTTPS.
      I have attempted to change this URL to HTTPS in my browser, however it brings back an ERROR: File not found page - https://www.shortfilmblog.com/wp-content/uploads/pagelines/compiled-css-core-1505847507.css
      What would you suggest in this regard? Would this be resolvable from your end?
      Happy to provide any further details required.
    • Borries
      By Borries+
      I know this is not an easy problem. Maybe there is a easy solution.
      I have tryed to uses the existing solution, that I have found in the forum
      I changed the colours of my nav (simple nav) and the hover effect (a. hover).
      I really tryed to highlight the active/used link in the nav but I cant figure it out.
      I want it to be black when active.
      Any help would be appreciated. Thanks.
      http://www.marcborries.de  nav link: "Sinn & Selbst" 
    • Michael Kummer
      By Michael Kummer+
      Hi guys,
      every since Chrome introduce scroll anchoring (see chrome://flags) blog posts on my page start scroll automatically as soon as the user scrolls down a bit. It is super annoying and I don't know exactly what triggers the incompatibility with Chrome's latest feature that is supposed to improve usability.
      Since I don't know what causes it (Pagelines, or a Plugin), I would like to disable the feature using a CSS override that Google describes as follow:
      "Scroll anchoring aims to be the default mode of behavior when launched, so that users benefit from it even on legacy content. A CSS property overflow-anchor can disable scroll anchoring in part or all of a webpage (opt out), or exclude portions of the DOM from the anchor node selection algorithm. This property supports the following values when applied to an element E:
      overflow-anchor: auto (the default value) declares that the DOM subtree rooted at E is eligible to participate in the anchor node selection algorithm for any scrolling box created by E or an ancestor of E. overflow-anchor: none declares that the DOM subtree rooted at E is not eligible to participate in the anchor node selection algorithm for any scrolling box created by E or an ancestor of E." Do you guys happen to know how to use that property with the ROOT element so it applies to the whole page?
      Thanks
      Michael 
    • jeomiland
      By jeomiland+
      In DMS2 there was a button to click to flush pagelines cache. Don't see this in platform5. Am having a big problem with caches. Have W3 Total cache plugin, but now even if I deactivate it, the code in css/less seems to not be registering??? I can delete all custom css, save, then add just a bit of the css (that used to work just fine the other day) and that small section of css takes effect. Then when I paste the whole css (that worked fine the other day), it seems to not work???
      About to restore DB backup from a couple days ago to see if that solves it, but it's a drag that this issue exists. Makes it hard to finetune the site.
      Thanks for help
      site is: http://permacultureecovillage.com/lev2017/
      lev styles most recent.css.rtf
×