0
Welcome Guest! Login
0 items Join Now

Editing blog particulars

  • Editing blog particulars

    Posted 9 years 9 months ago
    • I wish to change the display of items on the blog. For instance, I don't want any date to be displayed. I know where to fix it,but for the rest I need help

      1. I don't want the icons of Category and Written by to be displayed.

      2. I don't want the words "category" and "written by" and the related icons to be displayed. The former could be fixed in a language file, I suppose. Which one?

      3. I want the author's name to be displayed in a different font or style or color.

      Thanks.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Editing blog particulars

    Posted 9 years 9 months ago
    • Is this site online? If so, please provide the URL to the issue.
      :)
  • Re: Editing blog particulars

    Posted 9 years 9 months ago
    • This message contains only secure information that is visible to cdavis411, moderators and administrators
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Editing blog particulars

    Posted 9 years 9 months ago
    • use the language manager in "Extensions > Language Manger > Overrides" to change or remove the "Category", "Written By", etc...
      see screenshot.
      This image is hidden for guests.
      Please log in or register to see it.


      You can create a file using a simple text editor for custom css and name it using this format: templatefolder-custom.css (e.g., rt_osmosis-custom.css). For this issue add this to the custom CSS file
      /* Hide Icons */
      body .category-name:before, body .published:before, body .createdby:before {content: '';}
      /* Change Font */
      body .createdby {font-family: sans-serif;}
      More info here: www.gantry-framework.org/documentation/j...custom_stylesheet.md
    • Last Edit: 9 years 9 months ago by cdavis411.
  • Re: Editing blog particulars

    Posted 9 years 9 months ago
    • Thanks a lot for taking the trouble, Davis.
  • Re: SOLVED Editing blog particulars

    Posted 9 years 9 months ago
    • Now I can handle it, I suppose.
      Warmest regards.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: SOLVED Editing blog particulars

    Posted 9 years 9 months ago
    • Glad to be of service. See you around the board :)
  • Re: Editing blog particulars

    Posted 9 years 9 months ago
    • Dear Davis,

      I was able to remove the icons, but was unable to change the font particulars of the authors.
      I tried the code you have given for rt_osmosis-custom.css, but it doesn't work.
      I feel it has to start from somewhere above in the css file.

      Can you please provide a specific example?
      Suppose I want the author's name in red colour with a font size of 15px -- something like that.
      I hope this will help. Kindly do the best possible.

      Thanks. regards.
    • Last Edit: 9 years 9 months ago by May T. Hill.
    • cdavis411's Avatar
    • cdavis411
    • Preeminent Rocketeer
    • Posts: 17787
    • Thanks: 882

    Re: Editing blog particulars

    Posted 9 years 9 months ago
    • Hello,

      the css rule does work. I can see the diiference when using Chrome Dev Tools to disable the css rule. Using firebug in firefox or chrome's dev tools to disable the CSS rule you can see the difference. (see screenshots)
  • Re: Editing blog particulars

    Posted 9 years 9 months ago
    • Ooops! So sorry, Davis.
      I made the the necessary changes. I think the server was slow then, and propagation took time. And so I tried again later, and it certainly works. Only, the icon leaves a 1-letter space in its absence even if I don't leave a space between the quotes (""). That really doesn't matter. The only problem is that the font-color that I changed doesn't seem to work. I don't know why.

      Warmest regards.

Time to create page: 0.069 seconds