Skip Navigation

[Resolved] CSS style don't work

This support ticket is created 2 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 7 replies, has 2 voices.

Last updated by Luo Yang 2 years, 12 months ago.

Assisted by: Luo Yang.

Author
Posts
#2254401

I am trying to:
Show my search block like in attachment.

Link to a page where the issue can be seen:
hidden link

I expected to see:
Text with my custom settings on on the frontend.

Instead, I got:
Now I see my custom text style only on Admin Panel

#2254403
Zrzut-ekranu-2021-12-28-o-19.06.19.jpg

Attachment was to big in previous message 🙂

#2254547

Hello,

What kind of custom CSS codes are you using?
Can you take a screenshot for what you are going to achieve?

And you can setup your custom CSS codes here:
hidden link
find and select the view block, put your custom CSS codes into section "Custom CSS"

#2254597
bad-view.png
correct-view.png
settings.png

Actually it is settings connected with margin and font color.
Look please on attachments.
I set right margin on 7px and choose font color and weight just in text field.

But on my page it showing like in file bad-view.png

#2254647

Your screenshots shows it is margin of checkbox input box, and it does work in frontend.

If you want to style the label of each checkbox, you can try custom CSS codes like this:

div.checkbox label{
margin-right: 7px;
color: blue !important;
}

I have tested it in your website:
hidden link

It works fine

#2254877

Did you noticed that it works good only directly after save page and visit it 1 times?
But when you visit e.g. "kontakt" page and back to "promocje" this CSS settings stops works.
Please visit this page few times and you will see that this right-margin don't exist.
It's very strange because your CSS snippet and my settings of this search block still exist in Admin Panel.

This is some strange case like in "Archive X" for me 😉

#2254879

And one more. I need to color only "Pokaż promocje tylko w:" text string. Options from this form not. 🙂

#2255123
MARGIN2.jpg

Q1) But when you visit e.g. "kontakt" page and back to "promocje" this CSS settings stops works.

I have tried it again in your website by these steps:
1) visit page:
hidden link
Back to page:
hidden link
It works fine, I can see the margin settings, see my screenshot MARGIN2.JPG

Please provide detail steps to reproduce the same problem

Q2) I need to color only "Pokaż promocje tylko w:" text string.

You can use CSS codes to style those text, please check below document:
hidden link