Jump to content

Archived

This topic is now archived and is closed to further replies.

alisamski

Category Header image

Recommended Posts

alisamski+    8
alisamski

Using different header images throughout site and when it comes to the news/blog area I'm trying to get my category header image to show up when viewing full posts.

 

Intend to use same header image in all blog categories here.

 

http://bit.ly/1lLF3Rj

 

Suggestions?

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

 

Are you saying that you wish to have different header images per category page ?

If so, this has already been reported as at this moment in time it is not currently possible.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
alisamski+    8
alisamski

No... I want to have all the full posts with the same header as what you see in the above link... one image for all categories and full posts...

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there, the background image for the header is global across the whole site, or you can set locally on a per page basis. Unfortunately it doesn't allow for the option to set depending on the type of pages, whether they are category pages, posts, archives etc.

 

The only way you'd be able to do this would be manually using css to override the header image for the header on category pages using the .category class or .single-post class


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
alisamski+    8
alisamski

So for now... as I'm not sure how I would isolate that particular header css for category...

 

I set the global header image I want throughout the posts and category pages (since they are all the same)...

and just on the individual pages (where the headers are different)... I put in a new header image inside the local area...

 

now to test to see if that will actually work...

Share this post


Link to post
Share on other sites
James B    436
James B

That's correct. To do it will css across all category pages you'd need to put the class in front of the css for the header image. Something like below

 

.category .header .pl-bg-cover {

    background-repeat: no-repeat;
    background-size: cover;
}

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
alisamski+    8
alisamski

Will try this out and get back to you on results tomorrow.

 

thanks

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Great stuff - let us know how you get on :) 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites

  • Similar Content

    • TallTree
      By TallTree+
      Hi,
      I am trying to remove the sidebar areas from my child theme (pagelines.com) from the post pages on a site:
      https://staging4.talltreemusicfestival.com/2017/grand-analog/
      The content is all the way to the left and very small, and the two sidebar areas are taking up a lot of space.
      What I'm after is content to the left, taking up most of the space, and then a small sidebar width on the right for widgets.
      I've tried selecting 'read width content' and 'full width content' in the edit screen for the WP content section, but it doesn't change.  If I try to move the sidebars (1 or 2) to the left, it doesn't change.
      If I select the pagelines framework theme (not child), the two sidebars go away when not selecting them in the edit screen..
      Can someone please tell me what I'm doing wrong?
      Thanks in advance.
      -Matt
       
    • flourishdesignstudio
      By flourishdesignstudio
      Hello,
      I have an older site that was built using PageLines several years ago (prior to the release of DMS). I wanted to leverage some of the power of your new PL5 plugin but the theme prevents be from adding any generated custom sidebars to the theme (through the drag and drop interface) and does not allow me to add any PL5 sections/containers/etc to the header or footer. Is there any way to easily override that or am I stuck only using PL5 in the content areas of the site?
      Thanks so much for the help!
    • Queue-it
      By Queue-it+
      I've created a new post category "Success stories" with Custom Post type UI. (in order to have a different layout for a different post category - blog post one layout, success stories another layout).
      New category "success stories" are "detached" from all the other posts, so they have a different layout, but the problem is that all of the success stories are also having the same exact content.
      So whenever I edit content (e.g. change body text) on one of success story posts, it also changes the content (body text) for all other Success story category posts. 
       
      Question: Is there a way to retain this separate category with it's own layout, and have a different content for each individual post? I'm using Pagelins templates. 
       Thanks in advance.
    • Queue-it
      By Queue-it+
      Hi,
      Is is possible to have different layouts for different Post categories? We have Blog posts, News posts and Case studies that all are posts, but is it possible to differentiate their layouts?
      So far when I change a post layout it affects all Post type pages. Could it be done somehow with creating a separate template? 
      Examples below
      https://queue-it.com/news/
      https://queue-it.com/blog/
       
    • Timothy
      By Timothy+
      I'm trying to find a way to display the full content of my posts on my posts page rather than the post excerpt. 
      I've tried using various plugins to create a custom excerpt with no success, so I'm guessing I'll need to make the change to the theme files. That being said I'm not able to find where I would make that change. In the past I've been able to replace <?php the_excerpt(); ?> with <?php the_content(); ?>, but I'm unable to locate this in the framework theme? Am I missing something here?
×