Forum Replies Created
-
AuthorPosts
-
well on Enfold there are on html and body a lot of classes which you can use to style your layout.
if these are posts there is on body : single and single-post class
on portfolio : single and single-portfolio class:so you can do this:
#top.single-post #header { display: none } #top.single-post #main { padding-top: 0 !important;}if it is only for a special post – you should know the post ID – this you can find too on the body (#top) something like: postid-1959
and how do the visitors then navigate further on your site?
this is code we can use without looking to the sources of Enfold – just looking to the DOM
Maybe a Mod knows a direkt way to place the things on the footer.php to a different place
– in footer.php there is the code to echo the post-nav just before wrap_all closes:
echo $avia_post_nav;under my nick or avatar there is my info about webpage.
first i did it with jQuery and used the existing postnavigation
this to functions.php of your child-theme:function post_nav_to_content(){ ?> <script type="text/javascript"> (function($){ $('a.avia-post-nav').wrapAll('<div class="container postnavigation"></div>'); $('.container.postnavigation').wrap('<div class="main_color av_default_container_wrap container_wrap fullsize postnav_new"></div>'); $('.postnav_new').detach().clone().insertBefore('#footer'); })(jQuery); </script> <?php } add_action('wp_footer', 'post_nav_to_content');you see what it does
first : wrap the all post-nav anchors in one surrounding container
second : then it wraps again ( to have all those settings from enfold like a section)
third: it takes that last container from its place and insert it just before footer.this to quick css:
.postnav_new { height: 60px; position: relative; display: block; border: none !important; } .responsive .container.postnavigation { max-width: 1410px; /* depends on your general settings container width*/ } #top .postnavigation .avia-post-nav { background: transparent; bottom: 0 !important; top: 0 !important; margin-top: 0; position: absolute; height: 60px; border-radius: 5px; } #top .postnavigation .avia-post-nav .entry-info-wrap { display: table; height: 60px; } #top .postnavigation .avia-post-nav:hover .entry-info-wrap { width: auto !important; } #top .postnavigation .avia-post-nav .label { font-size: 36px; } #top .postnavigation .avia-post-nav .entry-info { margin: 0 10px !important; vertical-align: bottom; height: 60px; width: auto !important; display: block; white-space: nowrap; } .postnav_new .entry-image { display: none !important; } .avia-post-nav .entry-info-wrap { display: inline-flex; }just test it
the rest is styling . f.e. gettting a different arrow or having no background-colorby the way it seems that the wordpress standard options on Settings – Discussion : Comment Blacklist has an effect too – even if you don’t use Comments.
after the entry there (one country code per line) – I couldn’t send any more e-mails via my contact form (cf7 by the way) via .ru addressSeptember 25, 2019 at 6:47 am in reply to: Need css for making the red line around incorrect field submissions BOLDER #1141672on most cases form fields got an extra class on that. On Enfold it is the class: error
so that could help:.form_element.error { outline: 2px solid red; }you can use border aswell – but sometimes it has not effect with border.
may i see your site please.
September 24, 2019 at 10:17 pm in reply to: This element was disabled in your theme settings #1141627if you are not on Enfold older than 4.3 afaik that filter is deprecated : avf_builder_boxes
the new filter is : avf_alb_supported_post_types
and for metabox: avf_metabox_layout_post_typesyou can read here how to: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type
so try this instead:
// For Activation ALB for CPT function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'projekt'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1); // For layout meta box function avf_metabox_layout_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'projekt'; return $supported_post_types; } add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);-
This reply was modified 6 years, 3 months ago by
Guenni007.
you have set other values on your css than it is on default for flex-table ( as the name said – table layout )
the outcommented lines are the settings you have made –
the other is the default value
so look for those custom set rules and get rid of them – because you merged your files it is hard to say where it is placed.#top .flex_column_table { /*** display: block; ***/ display : table } #top .flex_column_table_cell { /*** float: left; ***/ float: none }September 24, 2019 at 7:21 pm in reply to: Bug when using transparant header and custom footer #1141525by the way vectorcriz – on some pages the heading of “Kontakt” is bold and big on some it is not.
September 24, 2019 at 6:56 pm in reply to: Bug when using transparant header and custom footer #1141517You have takten for that #kontakt section the relative value on ALB Option (100% of browser window height).
on shortcodes.js you can see what is happening.
For me it is logic not to subtract the header height on that – because on transparency the content has to go under the header to the top of the window.
On transparency option the height must be more than on non-transparency mode.
See line 461 and 479 calculation of that.
you see on line 461 that only header height is part of the calculation if it is a non-transparency option:
#header.av_header_top:not(.html_header_transparency #header)maybe Try an absolute value for your #kontakt section value f.e. 700px
so why don’t you use the full-width slider then?
it shows all of the image always – even on small screens.a very elegant method is to use the flex box modell:
the align-items: stretch made the trick
put the three iconboxes in a 1/1 container ! give to this 1/1 container the custom class: flex-iconboxesnow put this to your quick css:
/* mediaquery width depends on your settings ( maybe 768px) */ @media (min-width: 990px) { .flex_column.flex-iconboxes { display: flex; flex-flow: nowrap row; justify-content: space-between; align-items: stretch; } .flex_column.flex-iconboxes::before, .flex_column.flex-iconboxes::after { display: none; } .flex-iconboxes .iconbox { flex: 0 1 30%; background-color: #e8e8e8 !important; border-radius: 5px; margin-bottom: 0 !important; } .flex-iconboxes .iconbox_content { box-shadow: none !important; } }result see here : https://webers-testseite.de/iconboxes-with-equalheight/
if you got more than 3 boxes play with the 30% value ( 4 boxes : less than 24% ) etc
September 24, 2019 at 4:36 pm in reply to: Make blog post previous and next Featured Image bigger #1141436on functions-enfold.php on line 734 (Enfold 4.6.2) there is:
$image = isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail( $entry->ID, 'thumbnail' ); // change to $image = isset($entry->av_custom_image) ? $entry->av_custom_image : get_the_post_thumbnail( $entry->ID, 'square' );then the 180px square image from enfold is taken. Don’t know if there is a filter to influence it via child-theme functions.php (yet).
September 24, 2019 at 3:48 pm in reply to: Make blog post previous and next Featured Image bigger #1141417so try this and see if image quality is what you might want to have:
#top .avia-post-nav { height: 150px; } .avia-post-nav:hover .entry-info-wrap { width: 280px; } .avia-post-nav .entry-info { height: 120px; width: 260px; } .avia-post-nav .entry-image { height: 120px; width: 120px; } .avia-post-nav .entry-image img { border-radius: 10px; border: 2px solid #fff; width: 120px; height: 120px; }September 24, 2019 at 3:33 pm in reply to: Make blog post previous and next Featured Image bigger #1141412As you say it – these are featured images.
on default on WordPress these are 80px in dimension – so if you make them bigger – the next image in the srcset is taken – and that could be a large one (this will not be an enfold image size – it will be the one you have setup on settings – media .
mostly it is 300px wide.Edit: i do not know yet how to influence what image is taken from srcset.
to remove the circular shape of the images you just have to enter the following into the Quick Css.
.avia-post-nav .entry-image img { border-radius: 10px; /* or something different here */ border: 2px solid #fff; /* if you like */ }if there is a link to a live page – we could advise better. Do you have an SSL page? Maybe there are some http sources – but then you wouldn’t see it secure at the top of the browser’s URL window.
I’m a participant like you – so I don’t see your private messages.
Thanks Rikard !
September 24, 2019 at 3:08 pm in reply to: Bug when using transparant header and custom footer #1141401nobody can post a link to a livepage here?
Don’t give up so fast! It just doesn’t work. You also have to insert a transparent logo as a normal logo. Then it works

-
This reply was modified 6 years, 3 months ago by
Guenni007.
Dear Mods : this rule seems to be obsolete. It is hard to overwrite a height rule set to auto !important.
unset , initial and inherit does not do the trick.The rule has no influence on the otherhand – so test it please if it could be deleted.
see fixed but shrinking header here: https://webers-testseite.de/cynthia/fixed-header-on-mobile/Well i think i have to look if a header on fixed postion get this working too!
you can see here – that it is even working this way if you got a fixed header.
https://webers-testseite.de/cynthia/fixed-header-on-mobile/and if it weren’t for the superfluous rule in layout.css:
@media only screen and (max-width: 767px) { .responsive #header_main .container{ height: auto !important; } }the header height will shrink too. (See the example page – with deleted rule in layout.css)
But i found no way ( unset does not work) to overwrite this rule via css – only deleting that rule would help-
This reply was modified 6 years, 3 months ago by
Guenni007.
this is a matter of header_bg it has on default an opacity of 0.95
set it to 1.off topic: and by the way – This is a prime example to use the flex-box model here.
because 8 images besides each other on a mobile phone ?try on your example page that css: and see what happens on smaller screens:
@media only screen and (max-width:650px) { .page-id-715 #after_full_slider_1 .avia-gallery-thumb { display: flex; flex-flow: row wrap; justify-content: space-around; } .page-id-715 #after_full_slider_1 .avia-gallery-thumb a { flex: 0 1 100px; margin: 1%; } }September 24, 2019 at 9:46 am in reply to: This element was disabled in your theme settings #1141297can you please create a new post and place an image alb there.
Afterwards check if you can use then the Image ALB on your CPT
How did you activate for your custom post type the ALB Usage – maybe there is the point of interest.September 24, 2019 at 9:23 am in reply to: This element was disabled in your theme settings #1141287So what do you like to have on that performance settings: “Load only used elements”
Thats what i have there. And have never Troubles on that images.September 24, 2019 at 9:16 am in reply to: display image size and weights in media library screen #1141281September 24, 2019 at 8:59 am in reply to: How can I change position of "Display a scroll down arrow" #1141267by the way the scroll-down-link button is absolute positioned – but in relation to bottom.
If you cancel that rule and set a top postion you can play with that values.
PS: If you are still designing your website, my recommendation is that all merging – caching etc. should be switched off until you are done with the layout.
Otherwise you’d have to empty the cache, reset the merging, etc. with every small change#top .scroll-down-link { top: 70%; bottom: initial }PPS: wouldn’t it be nicer to set the background-images to cover the elements? You can set this in the color-section options dialog.
I now have over 5400 contributions here – of which just under 70 are requests for help on my part. So far I have found each of the mods here competent. But you can also find a lot of help here on board by using the board search. Each of the mods here has his special fields.
Impatience has always been a wrong friend. Some people think he has special privileges and must get an answer before others. This is naturally not possible in such a large support forum. -
This reply was modified 6 years, 3 months ago by
-
AuthorPosts

