Forum Replies Created
-
AuthorPosts
-
i have this sometimes when copy/pasting text from customer files.
Perhaps a pdf or docx Dokument.
Overwriting on editor solves my problems.May 21, 2015 at 11:35 am in reply to: How to remove the langeue flaps from the topbar while I'm using the WPML. #447685if so – try it with
#header_meta .avia_wpml_language_switch { display: none !important; }
can be closed – i managed it in a different way:
color section and in it an image – the Rest is pure css and thats obligatorisch doesn’t work on IE8 :lol
first link isn’t Enfold and
boa did the trick by placing a link in the main nav!<li class="header_logo"> <strong> <a href="http://www.boaelite.com/"> <img width="300" height="100" alt="BOA Elite" src="http://www.boaelite.com/wp-content/uploads/2014/04/logo3.png"> </a> </strong> </li>
and the main “logo” placed in the options dialog of enfold is set to display none:
and the “logo link” in main-nav is then set to display: nonediv#header_main strong.logo { display: none; }
with mobile menu the “real logo” then set to display: block
- This reply was modified 9 years, 6 months ago by Guenni007.
have a look here :
i first set it up with color section and background image – but i can not obtain responsive behaviour of the images
can be closed now – thanks for your helpful hints
this works :
function svg_replace(){ ?> <script> (function($){ $(window).load(function(){ $('img[src$="svg"]').attr('src', function() { return $(this).attr('src').replace('.svg', '.png'); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'svg_replace');
so in IE8; if there is a svg file and a png with the same name in the same upload-folder it will be replaced by that png
- This reply was modified 9 years, 6 months ago by Guenni007.
hm ?
but this doesn’t work:
function svg_replace(){ ?> <script> jQuery(window).load(function(){ jQuery('.avia-msie-8 img[src$="svg"]').attr('src', function() { return jQuery(this).attr('src').replace('.svg', '.png'); }); </script> <?php } add_action('wp_footer', 'svg_replace');
it is not possible to handle every svg file in this manner ? only the logo ?
than this could be used for fallback. If there is a svg file and an existing png with exactly the same name it will be replaced.
these folders are in /wp-content/uploads/dynamic_avia/
and you gave these files permission to 777 ?Strange behaviour than. I often have that trouble because i change ownership by default to the ftp user and not wp but than it works after filepermission change.
wow this seems to be simple enough.
I can only test it tomorrow and will than make my news on it. Thanks in advanceEdit: works well !
is this a kind of conditional comment
is it possible to obtain in this manner a generell change from svg to png if same filename is found on IE8 ?perhaps like :
jQuery('img[src$="svg"]').attr('src', function() { return jQuery(this).attr('src').replace('.svg', '.png'); });
- This reply was modified 9 years, 6 months ago by Guenni007.
Again : this is not only for table a nice selector it works for nearly every element
f.e. li on lists or p in a div
you can choose every other child every second (the 2nd, 4th, 6th, 8th … Listpoint) byli:nth-child(2n)
for this you can even use
li:nth-child(odd) forli:nth-child(2n+1)
li:nth-child(even) forli:nth-child(2n)
- This reply was modified 9 years, 6 months ago by Guenni007.
and by the way for modern browsers you can select the columns via pseudo-class nth-child
here you can see a test: http://webers-testseite.de/enf02/beispiel-seite/
i gave to the table a class : tab1 ( look for custom class ) that only this table is influenced by the css style
and than :.tab1 th:nth-child(1) { width: 20%; } .tab1 th:nth-child(2) { width: 30%; }
so the first column gets 20% the second 30% the third the rest
Edit: i guess if you haven’t a table heading it will work with td too
.tab1 td:nth-child(1) { width: 20%; }
- This reply was modified 9 years, 6 months ago by Guenni007.
i guess you used it as a price table
goto table options and try data table !
than the column width is set automatically to fit with the contentwell – by the way i’m not a native spoken english man
– and allthough Yigit may understand you perfectly – it might be nice to understand your question too.
Sometimes Participants can help too – and definitly we learn on questions other users have on their installation.the most of my websites with enfold runs under 5.4 stable version. Till now without trouble (Hoster : Hosteurope)
have you the opportunity to check it on a testinstallation on your Server or do you have to switch it completely to a 5.4 version?
Hosteurope gives me the choice to switch between 5.3 and 5.4 for each domain !
- This reply was modified 9 years, 6 months ago by Guenni007.
if you are using a child theme it is possible to stay only in the same category by adding to your child-themes functions.php the following:
add_filter( 'avia_post_nav_settings', 'enfold_customization_same_cat' ); function enfold_customization_same_cat( $s ) { $s['same_category'] = true; return $s; }
thanks can be closed – i managed it in a different way.
I gave a new eventcategory ( frontpage ) to that posting – and they have to do it manually.the link you gave me – i found it yesterday but it didn’t work for event (custom post)
This reply has been marked as private.April 25, 2015 at 7:46 am in reply to: Any way to get a thumbnail to appear with the posts in Search #434622not dangerous but you will loose them after upgrading.
So you than have to do all that changings again.April 24, 2015 at 5:35 pm in reply to: Any way to get a thumbnail to appear with the posts in Search #434286oh sorry didn’t realise that the featured image is meant – sorry again
und in deiner wp-config gibt es sowas wie :
(zB unterhalb von table prefix)
define('WPLANG', 'de_DE');
April 24, 2015 at 4:48 pm in reply to: Any way to get a thumbnail to appear with the posts in Search #434234instead of the counter or just before the headline ?
you can try by using pseudoclasses ::before and ad content in this wayfor example:
.search-results h2::before { content: "abc"; }
for abc you can take every content you want “Θ” or somthing like this
if it is not to long you can put in the circle content:
span.search-result-counter::before { content: "No."; }
ad behind the custom copyright [nolink]
important to use square brackets
try this please:
.avia-google-map-container { border: 1px solid #000 !important; box-shadow: 3px 3px 5px #999; }
with a little shadow too
April 24, 2015 at 2:47 pm in reply to: Google Maps Widget Bubble Content and german "umlaut" ö ä ü etc. #434129This reply has been marked as private.April 24, 2015 at 2:43 pm in reply to: Google Maps Widget Bubble Content and german "umlaut" ö ä ü etc. #434119is it a bug ?
its only the widget so i started to look to : class-framework-widgets.php
on line 1331 change from for the umlaute trouble
$content = json_encode(utf8_encode($content));
to
$content = json_encode($content);
on line 1385 for the quotation marks trouble:
var contentString = '".$content."';
to
var contentString = ".$content.";
April 24, 2015 at 10:10 am in reply to: Google Maps Widget Bubble Content and german "umlaut" ö ä ü etc. #434009??? this is the enfold installed Google Maps Widget
and that is the reason why i asked here . On pages/posts all is fine – even the bubblecontent !
in widget there are these automatically added quotation marks and the German Umlaute do not work at all.btw : i decided to fix the amount of images i have in the masonry (not all – but to set it to 12 in this case) –
and i think this helps in my casebut what if i have more than 100 images ?
-
AuthorPosts