Forum Replies Created
-
AuthorPosts
-
this rule comes from shortcodes.css – but if you want only influence f.e. iconboxes with top icon we have to be more specific:
.iconbox .iconbox_content .iconbox_content_title { text-transform: none !important; }otherwise f.e. if you like only to have that for icon on top:
.iconbox.iconbox_top .iconbox_content .iconbox_content_title { text-transform: none !important; }try first without important ( this should always be an exception) – but sometimes it is necessary
Postscriptum: are you chemistry ? is it a buckminsterfullerene?
Each solution –
prependTo and appendTo has its own css rules
you have now to many padding-left rules in there ( even for social icon 2 and 3 )
once you like it up now you like it down – but then you have to get rid of the other css rules .
I’ll wait and see how you decide now. Because the constant back and forth is not fun for me eithersorry there was an orthographic error on my code above it is appendTo . ( double : pp )
so in Ismaels code it is in case of social media at the bottom of hamburger:
$(socialString).each(function() { $(this).appendTo('#av-burger-menu-ul'); });and because in case of appending the sequence is 1,2,3,4 etc
the one css rule has then to be:#av-burger-menu-ul li.social_icon_1 { padding-left: 40px }because that is the first to come after menu.
On top there is the first in the row the last of the social_icons ( in your case social_icon_4)one thing to mention: the cells with content (not the one with the background images)
you have on grid row the options for grid-row itself –
and than the options for each cell – on that free lancer demo there are these cell options set to vertical align : centerand another one – think of background-image placement: it is in relation to screen window – not to cell size.
So if you have a cell on the right side with a background-image place it top-right etc.i do not have any polylang on my testing pages.
The head is on my opinion correct – the thing is that the page is redirected via 302
better would be to get rid of my code above and look into polylang settings if there is any chance to manage that.i don’t know why polylang sets here a 302 redirect.
Edit: there must be a checkmark for: “Hide URL language information for default language”
than the x-default isn’t set – and i guess that should be the setting you have to choice .ON may WPML i can set f.e. the root url is german – and the other languages are /en, /it etc.
In this case it makes sense that i have x-default.so checkmark for: “Hide URL language information for default language” and look what happens in your testing page
this is made via alternately Grid Row ( 1/2 1/2) Elements – first is with transparency options.
The images are made as background-images – some with fixed positioning.As an ALB Element where you can place other ALB Elements ( like in color-section) you can drag&drop every (accept color-section) other ALB Element in the Cells.
Thats all – no magic
i use WPML myself and the styling for each language is in my opinion a feature and not a bug.
the thing is that the whole enfold option page is per language.
So my advice is to make first all of the styling and then the content in different languages.F.e if you put in the quick css of your page ( english Version) some entries – these entries aren’t automatically added to the other languages.
So if you like to have overall the same styling – and f.e. your are satisfied with the english version go and export on the englisch Enfold Options Page the theme-settings file.
Switch to the other languages and import that file for each language.This is as i said for me a feature – because e.g. i can have a turkish and a german version of one site. the turkish prefer to have saturated colors on the other hand, germans like harmonious colors. ( please no generalization – but on the whole this might be true – see some turkish newspapers )
So the one could have high color contrast – the other not.
Same with font-family etc.@project_co_uk : for you it must be (if social_bookmarks are on top)
you have to erase the rule for
#av-burger-menu-ul li.social_icon_1 { padding-left: 40px }and then :
#av-burger-menu-ul li.burger-social { float: left; } #av-burger-menu-ul li.burger-social a { padding: 10px !important; border-bottom: none !important; } #av-burger-menu-ul li.social_icon_4 { padding-left: 40px } #av-burger-menu-ul .av-active-burger-items:not(.burger-social) { clear: left; } .burger-social a { width: 50px; } .burger-social a::before { left: 15%; position: relative; } #av-burger-menu-ul .av-social-link-facebook.burger-social a:hover {color:#fff !important; background-color:#37589b !important } #av-burger-menu-ul .av-social-link-twitter.burger-social a:hover {color:#fff !important; background-color:#46d4fe !important } #av-burger-menu-ul .av-social-link-youtube.burger-social a:hover {color:#fff !important; background-color:#a72b1d !important } #av-burger-menu-ul .av-social-link-instagram.burger-social a:hover {color:#fff !important; background-color:#a67658 !important }-
This reply was modified 7 years, 9 months ago by
Guenni007.
there must be additional settings concerning to your hover on hamburger menu in your page.
by the way if there is a prepend ( social_bookmarks on top) then the order is reversed.
Means on the left there is the last icon and on the right the first :So my code above must be changed to the last ( it there are 3 icons ):
#av-burger-menu-ul li.social_icon_3 { padding-left: 40px }why the first menu point is on the same place i will have a look – but i guess it maybe only a clearing issue.
edit:#av-burger-menu-ul .av-active-burger-items:not(.burger-social) { clear: left; }-
This reply was modified 7 years, 9 months ago by
Guenni007.
no Nikko – that would be not enough. Because i think he likes to transform all headings to (f.e. a h3 standard heading – with that small line besides) to modern style (without that line). ( And styling is not implemented in headings advanced styling options)
If it is only that line that disturbed him – that was easy to get rid of
you can set all headings as Nikko said on that advanced styling to font-weight : normal (300) or you put this to quick css
.av-special-heading-tag { font-weight: 300} .special-heading-border { display: none}maybe an !important on font-weight is necessary
-
This reply was modified 7 years, 9 months ago by
Guenni007.
yes that is the line above from shortcodes.js and its calculation. it adds that css if window height is smaller than the sum of the other heights
see post there – i answered on that thread
you can see result here – dont know why on your site the hover effect is like it is:
https://webers-testseite.de/weber/
-
This reply was modified 7 years, 9 months ago by
Guenni007.
do this in quick css:
and have a look:#av-burger-menu-ul li.burger-social { float: left; } #av-burger-menu-ul li.burger-social a { padding: 10px !important; border-bottom: none !important; } #av-burger-menu-ul li.social_icon_1 { padding-left: 40px }but i think this looks better if you do not prependTo but apendTo
here:…
$(socialString).each(function() { $(this).appendTo('#av-burger-menu-ul'); });you are kidding – no : this is only an advice to take the nice and costless polylang.
(meanwhile the lifetime licenses on wpml is no longer available – i have an old contract)
here on board there are a lot of satisfied Polylang userssame shit different name: with mediaquery (play with the values and determine the 480px if it is small enough etc.
@media only screen and (max-width: 480px) { .av-hamburger-inner, .av-hamburger-inner::before, .av-hamburger-inner::after { width: 30px; height: 2px; } .av-hamburger-inner::before { top: -8px; } .av-hamburger-inner::after { bottom: -8px; } }have a look if this fits your whishes:
.av-hamburger-inner, .av-hamburger-inner::before, .av-hamburger-inner::after { width: 40px; height: 5px; } .av-hamburger-inner::before { top: -12px; } .av-hamburger-inner::after { bottom: -12px; }the hight is what you asked for , width is clear – and top and bottom values determines the distance
i have a lifetime license from WPML – but polylang seem to do a good job for / in enfold too
by the way – on Enfold Options – Header – Header behavior – please checkmark that “Let logo and menu position adapt to browser window”
And have a look if this isn’t better for your big wide menu!On Main Menu – what do you have on : “Menu Items for mobile” ?
one after the other
1)
#menu-item-668 a .avia-menu-text { box-shadow: 2px 2px 5px #333; }…
and afterwards ( you don’t want to have both footer and socket links) goto enfold options – footer and deselect social icons there
now put in the widget:
<ul class="noLightbox social_bookmarks icon_count_4"><li class="social_bookmarks_facebook av-social-link-facebook social_icon_1"><a target="_blank" href="https://www.facebook.com/UNITE4HUMANITY" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Facebook"><span class="avia_hidden_link_text">Facebook</span></a></li><li class="social_bookmarks_instagram av-social-link-instagram social_icon_2"><a target="_blank" href="https://www.instagram.com/unite4humanity_/" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Instagram"><span class="avia_hidden_link_text">Instagram</span></a></li><li class="social_bookmarks_twitter av-social-link-twitter social_icon_3"><a target="_blank" href="https://twitter.com/Unite4Humanity_" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Twitter"><span class="avia_hidden_link_text">Twitter</span></a></li><li class="social_bookmarks_youtube av-social-link-youtube social_icon_4"><a target="_blank" href="https://www.youtube.com/channel/UC3HWLg_brLlmepvvdGKm4SA" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello" title="Youtube"><span class="avia_hidden_link_text">Youtube</span></a></li></ul>But i believe that this couldn’t work –
you have to have the social media activated on Enfold Options dialog – without these links could not work.yes because you haven’t used the code tag here on board i have transfered your wrong quotation marks.
<ul class="noLightbox social_bookmarks icon_count_5"> <li class="social_bookmarks_mail av-social-link-mail social_icon_1"> (Email address hidden if logged out) ?subject=Inquiry from WGM Website"><span class="avia_hidden_link_text">Mail</span></li> <li class="social_bookmarks_facebook av-social-link-facebook social_icon_2"><span class="avia_hidden_link_text">Facebook</span></li> <li class="social_bookmarks_instagram av-social-link-instagram social_icon_3"><span class="avia_hidden_link_text">Instagram</span></li> <li class="social_bookmarks_twitter av-social-link-twitter social_icon_4"><span class="avia_hidden_link_text">Twitter</span></li> <li class="social_bookmarks_youtube av-social-link-youtube social_icon_5"><span class="avia_hidden_link_text">YouTube</span></li> </ul>if it works – don’t know why if you haven’t set the social things on Enfold options – try:
just a moment i did have your wrong quotatin marks
<ul class="noLightbox social_bookmarks icon_count_5"> <li class="social_bookmarks_mail av-social-link-mail social_icon_1"> (Email address hidden if logged out) ?subject=Inquiry from WGM Website"><span class="avia_hidden_link_text">Mail</span></li> <li class="social_bookmarks_facebook av-social-link-facebook social_icon_2"><span class="avia_hidden_link_text">Facebook</span></li> <li class="social_bookmarks_instagram av-social-link-instagram social_icon_3"><span class="avia_hidden_link_text">Instagram</span></li> <li class="social_bookmarks_twitter av-social-link-twitter social_icon_4"><span class="avia_hidden_link_text">Twitter</span></li> <li class="social_bookmarks_youtube av-social-link-youtube social_icon_5"><span class="avia_hidden_link_text">YouTube</span></li> </ul>now you can copy paste
-
This reply was modified 7 years, 9 months ago by
Guenni007.
your code has no closing tags at all.
a ul opens but not closing
a li the same try this :<ul class=”noLightbox social_bookmarks icon_count_3″> <li class=”social_bookmarks_mail av-social-link-mail social_icon_1″> (Email address hidden if logged out) ?subject=Inquiry from WGM Website”><span class=”avia_hidden_link_text”>Mail</span></li> <li class=”social_bookmarks_linkedin av-social-link-linkedin social_icon_2″><span class=”avia_hidden_link_text”>Linkedin</span></li> <li class=”social_bookmarks_youtube av-social-link-youtube social_icon_3″><span class=”avia_hidden_link_text”>YouTube</span></li> </ul>April 15, 2018 at 12:31 pm in reply to: Changing style of unordered list without changing the menu style #942179just be more specific :
.avia_textblock li { list-style-type: none; position: relative; padding-left: 10px !important; margin-left: 5px !important; } .avia_textblock li:before { content: "\25BA \0020"; font-size: 12px; position: absolute; top: 1px; left: -10px; }margin-left is for the indent – if you like to have no line to the Text above – give it a bit more px’s
What did you do on touchscreens ?
how did you place the social icons there – by text widget
for a while i wrote a sozial-bookmarks widget for that – but it only places the bookmarks set on Enfold Options dialog –
you can see it on my testing page in the footer on the right column: https://webers-testseite.de
So if you don’t like to show a different set than on top this would only work if you define all and get rid of some in the footer via display:none.can you try this in quick css :
#footer .social_bookmarks { position: relative; left: -8px; top: -15px; } #footer .social_bookmarks a::before { font-size: 20px; color: #fff !important; }maybe it is better to define the link color in your enfold options – general styling – footer : highlight color
first of all allthough i’m german too – i have to write here english ( and sorry it is not the best – I do not have language practice any more for years)
so if there is something not clear : ask for german explanation.First use a child-theme ! Because it has many advantages – and adjustments do not get lost on parent update !
1) Split both of your logos – try to give them similar dimensions.
2) it is for some reasons better to set the enfold options logo to display none ( espacially if you have that second logo floating on the right side)
3) insert this to your functions.php of your child theme:function add_logos($logo) { $logo .= '<span class="logo first-logo"><a href="/">' ; $logo .= '<img src="/wp-content/uploads/logo1.jpg"/>'; $logo .= '</a></span>'; $logo .= '<span class="logo second-logo"><a href="a-different-link" target="_blank">' ; $logo .= '<img src="/wp-content/uploads/logo2.jpg"/>'; $logo .= '</a></span>'; return $logo; } add_filter('avf_logo_final_output', 'add_logos');3a) you see you can give each logo his own link ( if you don’t like the target blank on second logo erase it)
4) now the things come to quick css ( depends on dimensions and header settings we will see later):.logo, .logo a { display: inline-block} .logo:first-child img {display: none} .logo.first-logo { z-index: 3 } .logo.second-logo { z-index: 2 } .logo.second-logo { width: 100% } .logo.second-logo a { float: right !important } .logo.first-logo a, .logo.second-logo a { display: inline-flex } .main_menu:not(:first-of-type) { display: none !important }and for the responsive case:
@media only screen and (max-width: 768px) { .responsive #top .logo:first-child {display: none} .responsive #top .logo.first-logo {display: inline !important} .logo.second-logo a {float: left !important} .responsive #top #wrap_all .container {max-width: 95%; width: 95%} }5) we will see when this is done
see here: https://webers-testseite.de/cynthia/mille-deco/
-
This reply was modified 7 years, 9 months ago by
Guenni007.
-
This reply was modified 7 years, 9 months ago by
-
AuthorPosts
