Skip Navigation

[Gelöst] logo appears in the middle but only for two pages using views to show products

This support ticket is created vor 4 Jahren, 11 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Nigel vor 4 Jahren, 11 Monaten.

Assistiert von: Nigel.

Author
Artikel
#1400475

I am trying to: move the logo to the far left like the other pages on the site

Link to a page where the issue can be seen: problem pages are: versteckter Link and versteckter Link

I expected to see: I am also using toolset for the layout on versteckter Link I would like the logo to appear at the far left for all

Instead, I got: logo in middle over menu items

#1400655

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+00:00)

Screenshot 2019-12-05 at 12.23.20.png

Hi Veronica

It seems like on the problem pages you are adding custom CSS which is very broad, applying text-align: center to *all* divs.

You need to be more specific with your CSS selectors. I'm not sure what you are targeting, but that's the issue.

#1403337

I was targeting the product image, title, time and cost... before the products were aligning weirdly and support said I need to use that to make them align center. Is there something else I should be using?

#1403805

Nigel
Supporter

Sprachen: Englisch (English ) Spanisch (Español )

Zeitzone: Europe/London (GMT+00:00)

The problem with the CSS you added is that it applies to every div on the page.

You need to be more specific with the CSS to target only the things you need to.

If you had another section in particular that required centering you might add a class to the containing div (or use an existing class) and specifically apply centering to that div, e.g.

<div class="centered">
    Some content
</div>

... could be targeted with the CSS

.centered {
    text-align: center;
}