Plugin Author
vicchi
(@vicchi)
Hi …
1) I’m editing css style, i want less space to top
How are you editing the CSS? Which file(s) are you editing?
2) In Information Biographical works very good the links but if i add or text doesn’t go down.
I think something got missed out of your original post; can you try explaining point 2 again please?
-Gary
For point 1 wp-biographia.css
For point 2 is simple to do but difficult to said!
I think in english is “wrap”. I use
in html for it!
Plugin Author
vicchi
(@vicchi)
So as a general rule of thumb you shouldn’t edit, change or delete any files under /wp-content/themes
and /wp-content/plugins
… this is for several general reasons.
1. Any changes you make will be lost when either a theme or plugin is upgraded.
2. Any theme changes are theme specific, not site specific, change your theme and your theme changes will no longer be loaded.
3. Most theme and plugin authors can’t give support for code which has been edited or changed from the released version. It makes it almost impossible to work out if a problem is down to the released code or down to a change made by the user.
For WP Biographia all of the above is true but also the plugin doesn’t load wp-biographia.css
… it loads the minified version, wp-biographia.min.css
for performance reasons. So any changes you make to wp-biographia.css
, in addition to the reasons why you shouldn’t change this file above, will never be seen as this file is never loaded in a production environment.
So I’d recommend you either remove the changes you’ve made or uninstall and re-install the plugin to ensure you’re running a clean version. Then either put your custom CSS into a separate file, somewhere under your WordPress root but not inside any of the WordPress directories and use a plugin such as WP Customizer (with the disclosure that this is also one of my plugins) to load the custom CSS — or if you’re using Jetpack, use the Custom CSS feature of this plugin.
For point 2, I’m sorry but I’m still not clear what you mean. Do you have a screen-shot or link to a publicly accessible URL so I can see what you’re trying to do?
-Gary
1) Sorry but can you said me in wp-biographia.php what is h3 that i must edit?
I want change <h3> to <h3 class=”biographia”>
and i want add:
.h3 biographia {
padding-top:-10px;
}
I think that is one solution for problem n.1
Now: http://s11.postimg.org/69k5l6u4j/now.jpg
I want: http://s2.postimg.org/y8099pbqx/after.jpg
2) Do you knhow <br />
?
Now: http://s9.postimg.org/qzl1qj0wf/ora.jpg
How to? http://s13.postimg.org/41oodh2wn/dopo.jpg
See “Segui i miei pronostici”. How to add it under other text?
Plugin Author
vicchi
(@vicchi)
Sorry but can you said me in wp-biographia.php what is h3 that i must edit?
I want change <h3> to <h3 class=”biographia”>
So for all the reasons I mentioned initially, you shouldn’t change the plugin’s source files, this means all the source files … PHP, CSS, JavaScript and so on. If you do then I can’t help here I’m afraid.
But rather than changing the class of an HTML element that the plugin emits, you can chain CSS specifiers together, so something along the lines of …
.wp-biographia-text h3 {
padding-top: 10px;
}
… should work as this will only affect the h3
style if it’s a child of a block element with the class wp-biographia-text
.
But note that this is probably theme specific (I can’t say for sure without knowing your theme and seeing the markup of your site) so if you change your theme, then this CSS modification may not have the same effect.
For the second point, I think you’re saying that inserting line breaks or paragraphs into the biography text aren’t working … is that correct? If it is this is because by default WordPress runs the KSES filter over the biography text which removes all but a very limited set of HTML tags from text. There’s a FAQ for a work-around for this, see http://www.vicchi.org/codeage/wp-biographia/3-frequently-asked-questions/#faq9.
-Gary
Thank you very much! Second point solved 😉
First point if i add
.wp-biographia-text h3 {padding-top:-100px;}
It doesn’t work
If i add
.wp-biographia-text h3 {padding-top:100px;}
It works but i want the opposite!!!
http://s8.postimg.org/iabfsvnx1/100.jpg
Solved! Change padding with margin!
Plugin Author
vicchi
(@vicchi)
There’s no such thing as negative padding in CSS … so that won’t work I’m afraid.
There’s probably something else going on here related to your theme’s CSS. Can you post a public link to a post on your site where this is happening and I’ll take a look.
-Gary
Plugin Author
vicchi
(@vicchi)
Ah. I can see you edited your last post. Does this mean everything is working for you now?
-Gary
Yes works all very good !
Plugin Author
vicchi
(@vicchi)
Great. Glad to hear it. I’ll flag this a resolved.
-Gary