RiccardoCav
Forum Replies Created
-
Thank you! This works but I’d also like to make the text black.
What css code should I add?Thank you, I previewed this and it works BUT…
it also changes the colour of the titles of the articles on my homepage: instead of white, they become blue.
How could I apply the code you provided me only to texts inside posts and exclude articles titles, category links and other linked elements on the website?Thanks!
Forum: Themes and Templates
In reply to: [Riba Lite] How do I create a featured post?Hi! Thanks a lot, it worked!
Forum: Fixing WordPress
In reply to: Featured articles look like normal articles on my websiteAh, ok, thanks! I didn’t know this was a possibility. So I imagine the best thing would be to ask in the theme’s forum…
Forum: Fixing WordPress
In reply to: Featured articles look like normal articles on my websiteThank you for answering. My previous theme (Resonar) used to have this feature. I think the theme I’m using now, Riba Lite, has it too, since I see the option in the articles. Also, if you scroll the theme’s demo homepage, you can see that there is a “featured post”.
I don’t understand why the articles that I flagged as featured don’t appear like that.
Forum: Fixing WordPress
In reply to: Add another blog page to the Resonar themeThanks! Great answer!
Forum: Themes and Templates
In reply to: [Resonar] OverhangHI everyone! I’m actully having the same problem…you can notice it in the last pictures in this post
https://riccardocavaliere.com/2016/10/16/helgoland-lisola-spezzata/
their size should be much bigger as how they appear and they should be overhanging, not aligned on the left.
Forum: Themes and Templates
In reply to: Remove "Category archive:" on a category pageOk, so….
Bojan, thanks a lot again, your method is definitely working and I’m supergrateful.All the best!
Riccardo.Forum: Themes and Templates
In reply to: Remove "Category archive:" on a category pageThanks a lot Michael.
Actually Bojan was right: its code is working, probably the website’s appearence didn’t change because there was a cached version, but now finally the word “Categoria:” disappeared.
I’ll try creating a new category page as soon as I got time to double check and then I’ll change this thread status to “solved” if it works.
Thanks a lot!
Forum: Themes and Templates
In reply to: Remove "Category archive:" on a category pageHi Bojan,
actually the weird thing is that your solution seems to work perfectly if I open the site with my mobile phone but if I open it on a computer (I tried from 3 different computers) I still see the word “Categoria” in the heading.
I wonder what could that be…
Forum: Themes and Templates
In reply to: Remove "Category archive:" on a category pageHi,
thanks a lot! I tried adding this code to my child’s theme functions.php, but it didn’t work…
Here’s how my functions.php’s code looks now
<?php add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' ); function enqueue_parent_theme_style() { wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' ); } add_action('wp_footer','my_category_text_replace'); function my_category_text_replace(){ ?> <script> jQuery(document).ready(function() { jQuery(".archive.category h1.page-title").text(function () { return jQuery(this).text().replace("Categoria:", ""); }) }); </script> <?php }
Did I do anything wrong?
Forum: Themes and Templates
In reply to: Remove "Category archive:" on a category pageEHi thanks a lot, but this is not exactly what I was looking for:
I tried the code you suggest and this makes the whole title on the page disappear, which is not what I was looking for.
I just wanted to make the word “Categoria” (the equivalent of “Category Archive”) disappear, without deleting the page’s title (in this case “Reportage e descrizioni”).
Any clue?
Forum: Themes and Templates
In reply to: [Customizr] Remove "category archives" in page titleI’m also having problems…I tried with the first code in the functions.php and it doesn’t work.
Forum: Themes and Templates
In reply to: [child theme] Can't manage to make it workAh ok! So I actually think I solved the problem…I think it was that:
I named the file in the child theme folder “function.php” whereas the correct name is “functions.php” (functionS, plural).
Now I changed the name and it actually seems to work properly!