Jump to content

Archived

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

alisamski

Category Header image

Recommended Posts

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

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

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

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

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

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

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

 

thanks

Share this post


Link to post
Share on other sites
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

    • jeomiland
      By jeomiland+
      Hi
      Have researched this in the forum and find a couple ancient posts from 2011 and 2014 apparently for pre-DMS2?
      Am using latest Wordpress  4.8.4 running DMS Version: 2.2.4 theme
      When in the editor (Chrome), the page looks fine, but when logged out and viewing individual posts, they show up twice - one in the column I have setup and a second time at bottom of content page but above footer???
      Each page has 2 columns, left column is biggest and contains wploop/content and comments. wpcontent loop is displaying a second time below both columns but ONLY when not in editor. While in editor, second wp content block does not appear???
      https://cassclayton.com/el-chapultapec/  is a post. You can get to it from NEWS | News/Blog dropdown menu, then choosing a post.
      The 2011, 2014 posts talk about going into Settings and adjusting the excerpts vs full settings, but can't find anywhere to do this in DMS???
      Not sure if this is a new issue or old one i just now noticed.

      Best regards,
      John-eriK
       
    • Paul
      By Paul+
      I was surprised to see I had no menu today - out of the blue - its actually moved to the bottom of the page!  After hours of fiddling and disabling every single plugin, leaving just plagelines the issue is still present.  See video for a basic text box - I moved it into the head and it jumps to the bottom and shows just above the footer but below the main content.  I have a temp fix by placing the menu into the first row on the main content but it does mean other than my home page, all other pages have no menu.  A quick fix is very urgent for this bug.
      https://thelaptopfixers.com
       
       
    • russe-intensif
      By russe-intensif+
      Hi team,
      checking my site today, i'm surprised to see my MegaNav all in bottom of the pages, while it's in header.
      After getting to change it in couple of pages onto Template part (too time consuming !), i'm desperate and ask you for help :-)
      apprendre-le-russe-avec-ania.fr
      Thank you in advance !

    • 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!
×