-
AuthorPosts
-
March 31, 2014 at 11:37 am #245360
Good morning, I’ve got some questions about my webpage: can you help me to solve this problems.
Regards!Site: http://thomasgraziani.com
1) In the sidebar, the iconbox of “donate” section is “cutted”. As you can see, there is no right border. Can I fix this? I added che box code in a “text” widget. The code is:
[av_icon_box icon='ue911' font='entypo-fontello' style='margin: 20px' title='' position='top' link='' linktarget=''] [/av_icon_box]
2) I tried to add a simple ADsense code in the sidebar. I’ve added the code in a text widget. But above the ad box appeared two dots (?!?). Can I fix this?
3) I think a SEO best practice linking my site to my google+ author profile. In this tutorial (http://www.wpbeginner.com/wp-tutorials/how-to-get-googles-verified-authorship-for-your-wordpress-blog) I’ve read I have to add code to head section and in functions.php page. How can I do that without having problems with Enfold? I’ve installed also Yoast Seo plugin.Thank you for your help.
RegardsMarch 31, 2014 at 6:47 pm #245620Hey tomgraziani!
Thank you for using the support forum!
1.) Please add this on Quick CSS or custom.css:
#text-5 > div > article { padding-right: 1px; }
2.) I’m not sure why it’s adding the before pseudo selectors, you can use this to remove the dots:
#adrotate_widgets-4 .clearfix::before, #adrotate_widgets-4 .flex_column::before { content: ''; }
3.) Edit header.php, find this code on line 34:
<link rel="profile" href="http://gmpg.org/xfn/11" />
Do the instruction on the tutorial. After that, edit functions.php then add the code provided on the tutorial at the very bottom.
Best regards,
IsmaelApril 3, 2014 at 2:10 pm #247030Dear Ismael,
thank for your job. About my questions:1) solved, thank you
2) I have to paste your code in the quick css area? In this case it doesn’t work. Now I’ve added two separate adv sections: one made by adrotate, the other is a simple text area with adsense code. In both areas there are the dots. How can I solve?
3) Excuse, I’m a newbie. I found line 34 in header.php file: I have only to change the line
<link rel="profile" href="http://gmpg.org/xfn/11" />
with
<link rel="author" href="https://plus.google.com/profilecode/posts" />
then add at the very end of functions.php file the codeadd_action('wp_head', 'add_google_rel_author'); function add_google_rel_author() { echo '<link rel="author" href="https://plus.google.com/profilecode/posts" />'; }
Is it right?
Regards!
April 5, 2014 at 9:09 am #247744Hi!
2) I’m not sure what you mean with “dots” – do you want to remove/hide the hr elements between the widgets? If yes try this css code:
#top #wrap_all .sidebar .hr-short{ display: none; }
Regards,
PeterApril 5, 2014 at 11:37 am #247770Dear Dude,
I mean those red dots that appear between the advertising in the right sidebar. I simply added a text widget and pasted the adsense code. Instead of displaying the advertising I began to also display as red dots. I attach a photo.
Thank you!
April 5, 2014 at 4:26 pm #247797Hey!
Please add following code to Quick CSS as well
#top .main_color .price, .main_color .stock, #top #wrap_all .main_color ins { color: transparent; }
Cheers!
YigitApril 7, 2014 at 12:09 pm #248132Thank you, Yigit. This code will make all the dots desappear. Good for me, but I thing there is a bug somewhere in the code, cause the adv still remains not in place.
About my last question:
I found line 34 in header.php file: I have only to change the line
<link rel="profile" href="http://gmpg.org/xfn/11" />
with
<link rel="author" href="https://plus.google.com/profilecode/posts" />
then add at the very end of functions.php file the codeadd_action('wp_head', 'add_google_rel_author'); function add_google_rel_author() { echo '<link rel="author" href="https://plus.google.com/profilecode/posts" />'; }
Can you confirm? Thank you, have a nice day!
April 9, 2014 at 7:12 am #249125Hey!
No, you don’t need to change the code in header.php. Just place this code:
add_action('wp_head', 'add_google_rel_author'); function add_google_rel_author() { echo '<link rel="author" href="https://plus.google.com/profilecode/posts" />'; }
into the functions.php file and wp will add the line
<link rel="author" href="https://plus.google.com/profilecode/posts" />
to the “head” section when the page/html code is generated.
Cheers!
PeterApril 10, 2014 at 12:02 pm #249726Thank you Dude!
April 11, 2014 at 4:36 am #250073 -
AuthorPosts
- The topic ‘Some questions about Enfold’ is closed to new replies.