Forum Replies Created
-
AuthorPosts
-
May 26, 2015 at 3:42 pm in reply to: single post but on menu there is a site marked as active #450131This reply has been marked as private.May 25, 2015 at 8:20 am in reply to: single post but on menu there is a site marked as active #449414
ok i see the point : i set up that highlighted Page as the Blog Page (Enfold Options: “And where do you want to display the Blog?”)
isn’t it possible to set up a current-menu-item indivduell for each category.
the point is that i have in main-nav Sites and on these sites there are links to single posts with defined category.
f.e. a category : “team” (i don’t want the category as menu-item; i want the styling options from alb on sites) so the links to the Team-Members single Post go from a Site calles “Our Team”May 24, 2015 at 7:11 pm in reply to: is it possible to use entypo icons with pseudo class :before and :after #449261ok i found it
so you have to know the number in your custom font (or entypo font)
and f.e.a.extlink::after { content: " \e801"; font-family: "entypo-fontello"; font-size: 12px; vertical-align: top; }
so i gave to these links which i should mark with it a class : .extlink and then it works
the backslash was the thing i don’t know :wink
ah – btw i set up container max-height to 70vh (means 70% viewport height)
-
This reply was modified 9 years, 11 months ago by
Guenni007.
boa had choosen the header: header center menu below
than header_main_alternate comes by default.
you than can go to your menu and for home link you can set the following (but you first have to go to WordPress options dialog on Menu Site and make Classes and Description visible) look to the screenshot.
http://abload.de/img/headerqlrwr.jpg
on angezeigter name ( sorry i have the german WP installed) you can set an img link to your logo
and when you have done that give us please a link to help you more
The rest is css ( even the mobile
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, 11 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, 11 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, 12 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 10 years 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 10 years 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 10 years 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
-
This reply was modified 9 years, 11 months ago by
-
AuthorPosts