Jump to content


Photo
- - - - -

CSS Won't Take Effect

css not working

  • Please log in to reply
29 replies to this topic

#21 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 01 November 2013 - 04:17 PM

Bentley - add all the content to the pages and i will show you how to hide page by page. it is quite simple 



#22 BentleyD

BentleyD

    Super Member

  • Members

  • 148 posts
  • Framework Version:dms
  • Country: Country Flag

Posted 01 November 2013 - 05:15 PM

@Martin Davies Hey Martin, I have now made the header/highlight image for each category. They are just stacked at the moment. What is my next move? By the way thank you very much for the help!



#23 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 01 November 2013 - 05:21 PM

Ok thanks - Please do not make any changes whatsoever. 



#24 BentleyD

BentleyD

    Super Member

  • Members

  • 148 posts
  • Framework Version:dms
  • Country: Country Flag

Posted 01 November 2013 - 05:41 PM

@Martin Davies No changes will be made. Thank you


  • greenfly likes this

#25 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 01 November 2013 - 07:59 PM

OK here is how to do this 

 

Your pages News, Entertainment, Corporate, Hospitality, Institutional are Categories and therefore have category ID's -

 

You can see the category ID's by going to Wordpress > Posts > Categories then hover over the category names you will see the ID of the category at the bottom of the page http://d.pr/i/oAtq

 

Make a note of all the Category ID's. 

 

Next go to each section on the template and give the section a unique class - I have  done this for you. For example Industry news section's class has been given 'indnews' 

 

So to hide the Entertainment Client section on the news page you would use the following 

 

.category-9 .entclient {display: none;}

 

to hide all the sections other than the one you want on that category page add the unique Styling Class to the CSS. 

 

.category-9 .entclient .corpclient {display: none;} 


  • BentleyD likes this

#26 BentleyD

BentleyD

    Super Member

  • Members

  • 148 posts
  • Framework Version:dms
  • Country: Country Flag

Posted 01 November 2013 - 08:53 PM

Thank you!! That worked perfectly! You're the man.



#27 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 01 November 2013 - 09:07 PM

No problem at all - Have a good Weekend :)



#28 Danny

Danny

    Is Awesome!

  • Moderators
  • 15907 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 03 November 2013 - 08:02 AM

As far as I can remember this wasn't possible in PageLines Framework, you couldn't have dynamic archive or category pages per archive/category.

I have already explained how you can achieve this via CSS, you could also do this via a hook using the is_category() function - http://codex.wordpre...nce/is_category



#29 great2gether

great2gether

    Newbie

  • Members
  • Pip
  • 2 posts
  • LocationCologne / Köln - Germany / Deutschland
  • Country: Country Flag

Posted 06 November 2013 - 06:55 PM

James B!!!! Thank your 401 Times for this:
 

 

"Hi there,

 

Turn off your Total cache plugin and clear the cache file, that will block the css changes as they're made in the front end of the site on the live page. Need to keep the cache plugin off when making all your edits :-)"

 

 

I was trying to change the colors for 1 or 2 hours about to give it up when I found this post here. Now I can finally change the colors of my navbar links. Really thank you very much :)


  • James B likes this

#30 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 07 November 2013 - 07:46 AM

You're welcome :-)







Also tagged with one or more of these keywords: css, not working