Advertisement
Guest User

[wp] jNews Theme Style Modification

a guest
Mar 8th, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 1.92 KB | None | 0 0
  1. /* theme jnews style modification */
  2. /* info: https://themeforest.net/item/jnews-one-stop-solution-for-web-publishing/20566392 */
  3. /* demo: https://jnews.io/landing/ */
  4.  
  5. /* jnews modification: */
  6.  
  7. /* to style the data-num or even delete it, those numbers comes when selecting popular posts list */
  8. .popularpost_item { padding-left: 0; }
  9. .popularpost_item .jeg_post_title a::before { display: none; }
  10.  
  11. /* do not display a horizontal bar between posts */
  12. .jeg_autoload_separator { display: none !important; }
  13.  
  14. /* to disable category name from module ( blocks) */
  15. .jeg_slide_caption .jeg_post_category {display: none;}
  16.  
  17. /* to reduce the trasition speed in the jnews - slider 2 module */
  18. .owl-carousel .owl-stage {transition: all 0.1s ease 0s !important;}
  19.  
  20. /* full width of the theme in desktop view */
  21. .container, .jeg_vc_content > .vc_row, .jeg_vc_content > .vc_element > .vc_row, .jeg_vc_content > .vc_row[data-vc-full-width="true"] > .jeg-vc-wrapper, .jeg_vc_content > .vc_element > .vc_row[data-vc-full-width="true"] > .jeg-vc-wrapper {width: 100%;}
  22. body, html {overflow-x: hidden;}
  23.  
  24. /* unique background/title image for each category */
  25. body.jnews.category-125 {background-color: #dd3333;}
  26.  
  27. /* justifying the paragraphs of the news */
  28. /* Customize > Additional Style: */
  29. .content-inner { word-break: normal !important; }
  30.  
  31. /* to hide author link after post title */
  32. .jeg_post_meta .jeg_meta_author {display: none;}
  33.  
  34. /* to hide author everywhere */
  35. .entry-header .jeg_meta_author,
  36. .jeg_meta_author {display: none;}
  37.  
  38. /* to hide page title on the global page */
  39. .page .jeg_post_title {display: none;}
  40.  
  41. /* hide the page title on certain page, eg. '.page-id-2': */
  42. .page-id-2 .jeg_post_title {display: none;}
  43.  
  44. /* Popular channel section, the text on the Image are not showing
  45. Customizer > Additional CSS : */
  46. .jeg_blocklink .jeg_block_content h3 {font-size: inherit;font-weight: bold;letter-spacing: -.02em;color: #000;}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement