Tagged: CSS
-
AuthorPosts
-
May 1, 2015 at 1:41 am #437866
I have the following css, which I’ve tried in quick css as well as in the custom css style sheet, that only displays when I do a page preview from wordpress and not on the actual page. I’ve tried from Safari and Chrome, cleared cache etc.
/* Slider labels */
#fieldname2_2_caption, #fieldname3_2_caption {
font-size: 20px;
margin-top: 30px;
}
#field_2-3 label, #field_2-4 label {
font-size: 20px;
}
#field_2-5 label {
font-size: 20px;
}
#fieldname1_2 {
font-weight: 500 !important;
font-size: 35px !important;
color: #2980B9 !important;
}
/* Thumbs */
#fieldname2_2_slider span, #fieldname3_2_slider span {
height: 25px !important;
width: 25px !important;
}
/* div spacing */
#field_2-5 .dfield {
width: 100% !important;
}
#field_2-3 .dfield, #field_2-4 .dfield {
width: 100% !important;
margin-top: 15px;
}
#field_2-1 {
margin-top: 20px;
}
#field_2-2 {
margin-top: 20px;
}Any suggestions?
May 4, 2015 at 4:53 am #438712Hi caminator!
Do you have any minify or caching plugins active? If so, please deactivate them while testing.
Regards,
RikardMay 4, 2015 at 5:20 am #438715I don’t believe so. This is my list of active plugins:
Help | Settings | Request custom changes | Deactivate | Edit
Contact Form 7
Contact Form 7 Multi-Step Forms
L27 Sale Saver
MailChimp for WordPress Lite
Regenerate Thumbnails
Simple Follow Me Social Buttons Widget
Tawk.to Live Chat
UpdraftPlus – Backup/Restore
WordPress Force HTTPS
WordPress Importer
WordPress SEO
May 4, 2015 at 7:41 am #438743Hey!
Where did you get the id selectors (#fieldname2_2_caption, #field_2-5 etc.)?
Regards,
IsmaelMay 4, 2015 at 7:57 am #438749I’ve used google inspect element and the id’s from calculated field forms FAQ to no avail. I just thought it was interesting the css would display in preview but not in an actual browser.
May 4, 2015 at 4:56 pm #439076Hi!
Those selectors might change when you add or remove something. I checked the page but it is missing: https://maidayy.com/pricing2/
Did you inspect the site on the frontend?
Regards,
IsmaelMay 4, 2015 at 5:13 pm #439105This reply has been marked as private.May 5, 2015 at 8:46 am #439561Hey!
It must be some sort of caching issue, could you try to deactivate all plugins, clear your browser cache and reload a few times to see if that helps?
Regards,
RikardMay 8, 2015 at 2:02 am #441327I deactivated all plugins and cleared cache and I’m still getting the same issue.
May 9, 2015 at 5:09 am #441868Hey!
Did you get the id while editing the page? I think that’s what you did. If you want to get the proper element css selector, you need to do this in the frontend or in the actual page (https://maidayy.com/services-and-pricing/). If you right click then select “view source” in your browser then search “fieldname2_2_slider” for example. You will not find anything. Please get the id or selectors on the actual page (frontend) not from the page editor.
Best regards,
IsmaelMay 9, 2015 at 6:05 am #441884I got the id’s from inspect element in Chrome and copying the CSS path from the front end.
May 11, 2015 at 5:59 pm #442599Hey!
maybe your server is using some kind of caching. Please contact your host about that.
Please also use newest theme version (current Enfold is v3.1.5)
Regards,
Andy- This reply was modified 9 years, 6 months ago by Andy.
-
AuthorPosts
- You must be logged in to reply to this topic.