Vivek Hutheesing
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can I right-align my contact details?Hi Cyril,
It worked, thanks. Please have a look at my CV at:
https://blog.rblock.com/curriculum-vitae/
To make it fit in with the simple look of the page, I think I’d like to remove the shading and the border of the box containing my email address. That part I can figure out. But I’d also like to right justify the content inside the box, and probably add more contact details. Not sure how to do that. Do I need to modify the functions.php code, or the style.css code.
Thanks again for your mindshare on this. I really appreciate it.
Best,
Vivek
Forum: Fixing WordPress
In reply to: How can I right-align my contact details?Cyril, OK I’ll give it a try, thanks. I posted above just to make sure that you wanted me to add the snippet to the functions.php file of the child theme (not the parent). I’ll assume that to be the case as my sense as a newcomer to WordPress is that the child theme, once installed, over-rides the parent theme. Will revert back when I have something to report. Thanks again, Vivek
Forum: Fixing WordPress
In reply to: Create a highlighted text box in a post?Hey dice2dice,
I found the reasons you gave Cyril for your not attempting CSS to be hilarious. I hope your head’s feeling better!
Did Cyril’s advice help, or have you not yet tried it out. I ask because he suggested I try the same thing a few hours ago, hence my curiosity.
Be well,
Vivek
Forum: Fixing WordPress
In reply to: How can I right-align my contact details?Thanks Cyril.
I read the answer you gave in that other post, but had to ask you about it before trying. I am using the Twenty Twelve Child Theme, and a week ago when I made a change to the functions.php file (in the child), it crashed my whole WordPress installation. I was able to get it back by restoring the file through FTP, but want to be sure that its OK to make the change you suggested to functions.php
Right now, this is all that my functions.php file has inside:
<?php // add any new or customised functions here
Thanks,
Vivek
Forum: Themes and Templates
In reply to: Keeping My Fixed Header Always on TopThat worked Batharoy! How you know these things I’ll perhaps never know, but thanks a million. I really appreciate it. Vivek
Forum: Themes and Templates
In reply to: Keeping My Fixed Header Always on TopCan anyone look at the above link in IE 10 or IE 11 and let me know? Thanks so much, Vivek
Hi Andrew,
Thanks, now your code works. I took out this line:
left: 0;
By the way, when you post code suggestions in this forum, what do you have to do to have the code suggestion appear in a blue text box?
Thanks again,
Vivek
Hmmm, I put it back but there is still something wrong. So I must have accidentally deleted some other code. Will figure it out and fix, and then report back here.
Vivek
OK will do. Please check after about 2 mins. Thanks.
Before, the header links were indented from the left edge of the desktop screen, so that they were left-aligned with the body content below. Now after adding your replacement code, the header links are all the way to the left edge of the desktop screen.
Thanks,
Vivek
Hi Andrew,
Thanks for that suggestion. It worked partially. The menu button is back on my iPhone, but now on the website, the header links are no longer indented so that they are left-aligned with my body content. Is there a way to get the best of both worlds?
Thanks again,
Vivek
Oh no, I just noticed that all these great changes Esmi and Bathroy helped me to accomplish had an unintended consequence.
Now that my header links look great on my laptop, they no longer appear on my iPhone, so presumably they also don’t appear on an iPad. Is there any way to restore the “Menu” button that I had before these devices, without losing the header improvements we created in this thread?
Thanks again!
Vivek
Forum: Themes and Templates
In reply to: Reduce vertical spacing betw Header Links and Body ContentForum: Themes and Templates
In reply to: Reduce vertical spacing betw Header Links and Body ContentOK, any idea why your suggested code has no effect?
I tried changing some of the values representing top bottom right left, but this had no effect either.
Best,
Vivek
Forum: Themes and Templates
In reply to: Reduce vertical spacing betw Header Links and Body ContentThanks for that reminder Esmi, and for your generous help yesterday during which I learned some hard lessons. I followed Nhat’s suggestion in my child theme only, but it did not work. Vivek